<div dir="ltr"><div class="gmail_extra">Hi<br><br></div><div class="gmail_extra"><div class="gmail_quote">On Fri, Apr 3, 2015 at 3:53 PM, Victor Toso <span dir="ltr"><<a href="mailto:victortoso@redhat.com" target="_blank">victortoso@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div id=":cyo" class="" style="overflow:hidden">+    SPICE_AUDIO_GET_CLASS(audio)->get_playback_volume_info_async(audio,<br>
+            audio_playback_volume_info_cb, main_channel);</div></blockquote></div><br></div><div class="gmail_extra">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.<br><br></div><div class="gmail_extra">Also, a channel may be recycled. The state should be reset in channel_reset() for further usages.<br></div><div class="gmail_extra"><br clear="all"><br>-- <br><div class="gmail_signature">Marc-André Lureau</div>
</div></div>