Changing Gstreamer volume on playbin pipeline - misbehaviour for pulse card

Sujith reddy Sujithreddy6192 at gmail.com
Tue Jul 10 07:10:49 UTC 2018


Dear All,

I have created a pipeline with playbin and used pulse sink as audio sink
element. 
g_object_set (GST_OBJECT (data1->pipeline), "audio-sink", data1->pulse_sink
, NULL);

Cards available are alsa card and bt card.

Now when the audio is playing in bt card, I am trying to change the
Gstreamer volume using command:
g_object_set(data_prim.pipeline,"volume", value, NULL);
here value is between 1 to 10.

Expected result:
- music volume should change.
- bt card volume should NOT change.


Actual result:
- music volume is changing. 
- bt card volume is also changing. This is the issue. 

Could you please help me to fix this?

Thanks
Sujith.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list