Mailinglist Archive: radeonhd (307 mails)

< Previous Next >
Re: [radeonhd] ac3 audio over HDMI?
  • From: JP Fournier <jape42@xxxxxxxxx>
  • Date: Sun, 8 Feb 2009 17:25:40 -0500
  • Message-id: <200902081725.41171.jape42@xxxxxxxxx>
On Sunday 08 February 2009 12:35:43 Christian König wrote:
Am Sonntag, den 08.02.2009, 10:36 -0500 schrieb JP Fournier:
jape@vcr3:/tmp/read-edid-1.4.1$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.16.
Compiled on Jan 29 2009 for kernel 2.6.24-23-server (SMP).

There is the problem: alsa 1.0.16 don't have an iec958 device defined
for hdmi per default.

Try putting the attached asound.conf unter /etc, and then run mplayer
like this:

mplayer -ac hwac3 -ao alsa:device=iec958=1 2041_20090208074700.mpg

It's important that you use the "iec958" device instead of the "hw"
device. Then you should see something like:
(II) RADEONHD(0): RHDHdmiUpdateAudioSettings: playing with 2 channels,
48000 Hz sampling rate, 16 bits per sample,
(II) RADEONHD(0): RHDHdmiUpdateAudioSettings: 0xa1 IEC60958 status bits
and 0x02 category code
in your xorg log file. Getting 0xa1 for the IEC60958 status bits instead
of 0x01 is the important thing here.

Thanks. This seems to have done it. mplayer seems to be able to open the
audio device and the receiver is playing the audio:

==========================================================================
Forced audio codec: hwac3
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
No accelerated IMDCT transform found
hwac3: switched to AC3, 384000 bps, 48000 Hz
AUDIO: 48000 Hz, 2 ch, ac3, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [hwac3] afm: hwac3 (AC3 through S/PDIF)
==========================================================================
AO: [alsa] 48000Hz 2ch ac3 (1 bytes per sample)


Now I just need to figure out how to get this working in mythtv...

Thanks again.

jp




If it still doesn't works, then alsa is doing something wrong inside the
kernel driver and we need to change this.

Good luck,
Christian.

--
To unsubscribe, e-mail: radeonhd+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: radeonhd+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups