<div dir="ltr">I used the below code to set the volume.<br>&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; play = gst_element_factory_make ( &quot;playbin&quot;, &quot;play&quot; );<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; g_object_set ( G_OBJECT(play), &quot;uri&quot;, argv[1], NULL );<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; g_object_set ( G_OBJECT(play), &quot;volume&quot;, 10.0, NULL );<br><br>I muted the volume by using the volume control and played the audio file with volume range 1.0 and 10.0. I&#39;m able to hear the sound but couldnt<br>
make out the difference between the range 1.0 and 10.0 as the sound emitted for the range 1.0 and 10.0 seems to be same.<br><br>I raised the volume to the full by using volume control, i got the same behavior as above. It seems for the volume range 1.0 and 10.0, sound<br>
is same. I could make a slight difference for the range 0.1/0.2.<br><br>&nbsp; Moreover if i give the volume as int/unsigned int rather than double as g_object_set ( G_OBJECT(play), &quot;volume&quot;, 3, NULL ); it throws a runtime error<br>
(a.out:13506): GLib-GObject-WARNING **: IA__g_object_set_valist: object class `GstPlayBin&#39; has no property named `\x81\xc3\xdb\xc4\u0003&#39;.<br><br>Is there any way to get/set the balance level?<br><br>/Ganesh<br><br>
<br><br><div class="gmail_quote">On Mon, Jul 21, 2008 at 6:53 PM, Danilo Freire &lt;<a href="mailto:xharada@gmail.com">xharada@gmail.com</a>&gt; wrote:<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">yes, it is possible,<br>could you paste the code in here?<br><br><div class="gmail_quote"><div><div></div><div class="Wj3C7c">On Mon, Jul 21, 2008 at 6:22 AM, Akbar Basha &lt;<a href="mailto:akbar.sdl@gmail.com" target="_blank">akbar.sdl@gmail.com</a>&gt; wrote:<br>

</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c"><div>Hi,</div>
<div>&nbsp;</div>
<div>Is it possible to set the volume for Playbin element?</div>
<div>When I try to set the volume , says GstPlayBin has no property named.</div>
<div>&nbsp;</div>
<div>Regards,</div>
<div>Akbar</div>
<br></div></div>-------------------------------------------------------------------------<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" target="_blank">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><font color="#888888"><br><br clear="all"><br>-- <br>Danilo Freire<br>Laboratório de Sistemas Embarcados e Computação Pervasiva<br>Centro de Engenharia Elétrica e Informática - CEEI<br>Universidade Federal de Campina Grande - UFCG
</font></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>