Get max audio channels available from alsasink
moritz.vieli
moritz.vieli at gmail.com
Mon Jan 28 18:15:35 UTC 2019
Hi there
I am letting the user decide, how many audio channels he wants to to play on
an alsasink. However, if he configures more channels than available on the
specified audio interface, my complete app gets wiped from the memory
(because of some illegal memory access form Gstreamer/ALSA i suppose).
Now, is there a possibility to find out the maximum available channels on an
audio interface? It would be nice with Gstreamer of course, but a command
line solution would also be sufficient. I tried querying the negotiated
caps, allowed caps and so on, but it's always returning the configured
channels, not the possible available channels. I couldn't figure out a
solution.
Thanks a lot and best,
Moritz
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list