how do write a gst mixer in c

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

how do write a gst mixer in c

gekko
Hello!

does anybody know how to write a gsreamer audio mixer in c?

i want to control the volume and also i want to get some informations like time or rate...
Reply | Threaded
Open this post in threaded view
|

Re: how do write a gst mixer in c

Wes Miller
Administrator
HI,

First, please note that your posting did not make it to the real gst-devel forum.  You need to be a member of the forum itself to post to it.  Nabble is a separate (wonderful) interface to gstreamer forums.

And second,  are you using gst-launch or are you writing in c/c++ or python or java?  What operating system?  Gstreamer on Windows is not quite as complete a solution as it is on Linux.

Now, Is there some reason you can't use one of the existing mixers?

ossmixer
oss4mixer
alsamixer
pulsemixer
videomixer


of maybe just use the volume element to control volume?

To get information out of a pipeline you can use "fakesink -v " which will  tell you a LOT about your pipeline and its data.  Also search this forum for a post by me (wes miller) asking about a programmatic replacement for fakesink (answer uses a callback to deep-notify).

Also see this forum for questions I've posted about getting the values of element properties.