Hi

On Fri, Apr 3, 2015 at 3:53 PM, Victor Toso <[email protected]> wrote:

> +    SPICE_AUDIO_GET_CLASS(audio)->get_playback_volume_info_async(audio,
> +            audio_playback_volume_info_cb, main_channel);
>

It would need to keep a reference on main_channel, and an
audio_sync_cancellable for the case where the channel is to be disconnected.

Also, a channel may be recycled. The state should be reset in
channel_reset() for further usages.


-- 
Marc-André Lureau
_______________________________________________
Spice-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to