2014-02-23, 23:27
Hello,
I would give some feedback about the new alsa support. Sorry for my english. Results was made with both versions
OpenELEC (Milhouse) Version: devel-20140221233032-r17780-ge46e3ad and
OpenELEC (Milhouse) Version: devel-20140202053003-r17587-g0c71539
aplay -l returns
Output of amixer:
The second one is an cheap usb audio card ( 0d8c:000e C-Media Electronics, Inc. Audio Adapter (Planet UP-100, Genius G-Talk )
1 The Alsa support for the usb card works in 2 of 3 cases:
1.1 Via command line (i.e aplay --rate=16000 --channels=1 --format=S16_LE -Dplughw:1,0 ): works
1.2. Select Alsa card in XBMC menu and play files with dvdplayer: works
1.3. Select Alsa card in XBMC, but use omxplayer: doesn't works. (I assume the broadcom hw decoder output cant be route to the usb card)
2 The Alsa support for [bcm2835 ALSA] do not work. There is no error message, but all three above cases
leads to a mute output. Did I forget something, i. e. has to disable the "Non-Alsa sound module"?
Regards Yggdrasil
I would give some feedback about the new alsa support. Sorry for my english. Results was made with both versions
OpenELEC (Milhouse) Version: devel-20140221233032-r17780-ge46e3ad and
OpenELEC (Milhouse) Version: devel-20140202053003-r17587-g0c71539
aplay -l returns
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 1: Device [Generic USB Audio Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
Code:
amixer -c 0 scontents
Simple mixer control 'PCM',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback -10239 - 400
Mono: Playback 400 [100%] [4.00dB] [on]
amixer -c 1 scontents
Simple mixer control 'PCM',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 151
Mono:
Front Left: Playback 150 [99%] [-0.25dB] [on]
Front Right: Playback 150 [99%] [-0.25dB] [on]
Simple mixer control 'Mic',0
Capabilities: cvolume cvolume-joined cswitch cswitch-joined
Capture channels: Mono
Limits: Capture 0 - 16
Mono: Capture 0 [0%] [0.00dB] [on]
Simple mixer control 'Auto Gain Control',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
The second one is an cheap usb audio card ( 0d8c:000e C-Media Electronics, Inc. Audio Adapter (Planet UP-100, Genius G-Talk )
1 The Alsa support for the usb card works in 2 of 3 cases:
1.1 Via command line (i.e aplay --rate=16000 --channels=1 --format=S16_LE -Dplughw:1,0 ): works
1.2. Select Alsa card in XBMC menu and play files with dvdplayer: works
1.3. Select Alsa card in XBMC, but use omxplayer: doesn't works. (I assume the broadcom hw decoder output cant be route to the usb card)
2 The Alsa support for [bcm2835 ALSA] do not work. There is no error message, but all three above cases
leads to a mute output. Did I forget something, i. e. has to disable the "Non-Alsa sound module"?
Regards Yggdrasil