<div dir="ltr">Hi, Raj:<br><br>&nbsp;&nbsp;&nbsp; To your second question, my way is: I encapsulated the gstreamer stuffs into a class(derived from GObject) and the GTK+ main program will construct this object and also the interface and accept user input. The gstreamer object will emit signals whenever there is something need to be shown in the interface.<br>
<br>Eric Zhang<br><br><div class="gmail_quote">2008/8/29 Raj Swaminathan <span dir="ltr">&lt;<a href="mailto:rajshyam@gmail.com">rajshyam@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Hi,<br><br>I am new to Glib programming and gstreamer. I am trying to build a basic media player application. So far i have gstreamer pipelines up and rendering various media formats.<br><br>My questions are:<br>

<br>1) Im trying to reference the gstalsamixer plugin for volume control and muting. I understand its an interface and im trying to find out whats the best way to access the interface methods like&nbsp; gst_alsa_alsa_mixer_get_volume etc ... <br>

&nbsp;&nbsp;&nbsp; Could somebody please provide a code snippet that can show this ?<br><br>2) When designing the media player, whats the best way to accept user input. Do i spool a separate thread for rendering media while the main thread waits for user input or is there a better way within gstreamer to do this?<br>

<br><br>Thanks for your time.<br><br>regards,<br>raj<br></div>
<br>-------------------------------------------------------------------------<br>
This SF.Net email is sponsored by the Moblin Your Move Developer&#39;s challenge<br>
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes<br>
Grand prize is a trip for two to an Open Source event anywhere in the world<br>
<a href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</a><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>