Hi,
On Fri, Apr 03, 2015 at 04:34:30PM +0200, Marc-André Lureau wrote:
> 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.

Sorry, I did not understand why I need to keep a reference to
main_channel in this case and what should be done when the
channel-playback or channel-record is reset.

Could you please clarify?

Thanks,
_______________________________________________
Spice-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to