Custom codec with three channels

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I have an custom embedded board with the i.MX6 SoC which has WM9712
AC97 codec connected to it. This codec supports 3 channels and has 3
DACs. Two 16 bit DACs for Left and Right channel and one 12 bit DAC
which can be configured to use one of the AC97 slots.
I have modified the codec driver and the SSI driver for the i.MX6 so I
can use all three channels.
I have selected to use AC97 slot 3 and 4 for Front Left and Front
Right channel and AC97 Slot 5 for this third channel.

If I use speaker-test utility with:
# speaker-test -t wav -c 3

I can hear the sound on all three channels as Front Left, Front Right
and Rear Left.

Now, I'd like to use pulseaudio server. However, I cannot get a sound
on the third (Rear Left) channel. If I run speaker-test I get the
sound on Front Left and Front right, but not on the third one.
If I run speaker-test with -D hw:0,0 parameter so it directly uses
ALSA driver, I can hear the sound on all three channels.

I tried adding this configuration options to /etc/pulse/daemon.conf:
default-sample-format = s16le
default-sample-rate = 48000
default-sample-channels = 3
default-channel-map = front-left,front-right,rear-left

Also tried loading alsa module with
module-alsa-sink device=hw:0,0 channel_map=front-left,front-right,rear-left

But, I cannot get the sound on the third channel.

Any suggestions how to configure pulseaudio server for this custom set-up?
Is this even possible with my custom set-up?

Any suggestions/hints would be appreciated.

Thanks and BR,
Matej
_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux