Skip to contentSkip to conversation

CA0132 6 Channel Output

DISCUSSION Sean McCully 2 participants 2 messages Feb 26, 2014

lore
Share & tools
lore
#0 lore raw

I have one of these sound cards that came with my motherboard,

/http://www.asrock.com/microsite/intelx79/GameBlaster.html/[1]

Two Channel Output from one audio Jack works perfectly, but there seems to be a problem with using the additional audio jacks for 6 channel "surround sound".

http://www.alsa-project.org/db/?f=a8ae0aa3c0da4d697c1df5f403001dff50bb6e51

pasuspender -- speaker-test --channels=6 --device=surround51:0

speaker-test 1.0.27.2

Playback device is surround51:0
Stream parameters are 48000Hz, S16_LE, 6 channels Using 16 octaves of pink noise
Channels count (6) not available for playbacks: Invalid argument Setting of hwparams failed: Invalid argument

$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
oss
    Open Sound System
pulse
    PulseAudio Sound Server
sysdefault:CARD=PCH
    HDA Intel PCH, CA0132 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, CA0132 Analog
    Front speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, CA0132 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, CA0132 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, CA0132 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, CA0132 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, CA0132 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
    HDA Intel PCH, CA0132 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 2
    HDMI Audio Output
Signature · 4 lines
-- Sean McCully

--------
[1] http://www.asrock.com/microsite/intelx79/GameBlaster.html
#1 lore raw

2014-2-26 上午10:35 於 "Sean McCully" <[email protected]> 寫道:

Quoted 7 lines

I have one of these sound cards that came with my motherboard,

/http://www.asrock.com/microsite/intelx79/GameBlaster.html/[1]

Two Channel Output from one audio Jack works perfectly, but there seems

to be a

Quoted 1 line

problem with using the additional audio jacks for 6 channel "surround

sound".

Quoted 6 lines

http://www.alsa-project.org/db/?f=a8ae0aa3c0da4d697c1df5f403001dff50bb6e51

pasuspender -- speaker-test --channels=6 --device=surround51:0

Quoted 9 lines

speaker-test 1.0.27.2

Playback device is surround51:0
Stream parameters are 48000Hz, S16_LE, 6 channels Using 16 octaves of pink noise
Channels count (6) not available for playbacks: Invalid argument Setting of hwparams failed: Invalid argument

https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound?id=825315bc5b5c33e5af5124ff100ef05a30ad722f

when driver use ca0132_setup_stream instead of snd_hda_multi_out_analog_open , multi channel support is lost if ca0132_playback_pcm_prepare only use one dac

ca0132_setup_stream(codec, spec->dacs[0], stream_tag, 0, format);
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel