Get max audio channels available from alsasink

moritz.vieli moritz.vieli at gmail.com
Sat Feb 2 11:40:49 UTC 2019


Hi Nicolas

Thanks a lot for your quick response! Unfortunately, amixer does not return
all available channels for my sound interfaces (tested with different ones).
This one should have 6, but the following is returned:

$ amixer -c K6
Simple mixer control 'Audio Input Terminal',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 1
  Mono: 0 [0%]
Simple mixer control 'Audio Input Terminal',1
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 1
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'Audio Input Terminal',2
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 1
  Front Left: 0 [0%]
  Front Right: 0 [0%]
Simple mixer control 'Audio Output Terminal Clock Source',0
  Capabilities: enum
  Items: 'Internal Clock' 'External Clock (S/PDIF)'
  Item0: 'Internal Clock'
Simple mixer control 'External Clock (S/PDIF) Validity',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Internal Clock Validity',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Monitor Control',0
  Capabilities: pswitch
  Playback channels: Front Left - Front Right - Rear Left - Rear Right
  Mono:
  Front Left: Playback [off]
  Front Right: Playback [off]
  Rear Left: Playback [off]
  Rear Right: Playback [off]
Simple mixer control 'Monitor Control',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]

I also tried different amixer options (info, scontents and so on), but I
cannot get the information.

Best,
Moritz



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


More information about the gstreamer-devel mailing list