I had a working configuration and during the last few weeks something has broken. I use an alsa filter to convert a 5.1 audio stream to AC3 so that it can be sent to my hometheater system (the only other option would be by HDMI, but the FOSS driver doesn't support more then 2 audio channels yet).
My .asoundrc configuration is:
Code: Select all
pcm.a52encode {
type a52
format S16_LE
channels 6
rate 48000
bitrate 448
card "Intel"
}
pcm.hometheater {
type plug
slave.pcm "a52encode"
slave.channels 6
}
Code: Select all
$ speaker-test -Dhometheater -c6 -twav
speaker-test 1.0.24.2
Playback device is hometheater
Stream parameters are 48000Hz, S16_LE, 6 channels
WAV file(s)
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 3072 to 15360
Period size range from 1536 to 1536
Using max buffer size 15360
Periods = 4
[ac3 @ 0x1c14000] Specified sample_fmt is not supported.
Unable to set hw params for playback: invalid argument
Setting of hwparams failed: invalid argument
Thanks,
Luis