Accessing 6 channels on CMI8738
Hi there,
I need to output 3 independent stereo streams on my CM8738, but i'm having trouble addressing the card in 'Multi-channel' mode - where I should be able to open the first DAC on the card using 6 channels, and play interleaved data out of the 3 analog stereo outputs.
I can get 2-channel mode working - i.e. the front DAC works in simple stereo, and I can access the second pair of channels i.e. 'rear' using hw:0,1, but i can't figure out how to access the last channel pair (center/bass) or how to send interleaved data to them all at the same time, which would be ideal.
Can anyone give me some hints or skeleton code that puts the CMI8738 in a suitable mode and outputs a sine wave on all 6-channels?
Thanks for your time
-Pete
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel
Quoted 7 lines · pete
Hi there,
I need to output 3 independent stereo streams on my CM8738, but i'm having trouble addressing the card in 'Multi-channel' mode - where I should be able to open the first DAC on the card using 6 channels, and play interleaved data out of the 3 analog stereo outputs.
Quoted 8 lines
I can get 2-channel mode working - i.e. the front DAC works in simple stereo, and I can access the second pair of channels i.e. 'rear' using hw:0,1, but i can't figure out how to access the last channel pair (center/bass) or how to send interleaved data to them all at the same time, which would be ideal.
Can anyone give me some hints or skeleton code that puts the CMI8738 in a suitable mode and outputs a sine wave on all 6-channels?
cd alsa-lib/test
make pcm
./pcm -D surround51 -r 48000 -c 6
or simply:
aplay -D plug:surround51 <some_wav_file>
Jaroslav
-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project http://www.alsa-project.org
SuSE Linux http://www.suse.com
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel