[WIP] Passthrough support

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

 



On 25.03.2011 03:35, Dark Shadow wrote:
> Unless I am missing something all the movies I play say 48kHz on my
> receivers OSD when played through my PS3 so I thought that was the
> best they have, and higher was not used on average Blu-Ray's.
> 
> If they have better why is it not being used considering my receiver
> supports it. I know from this dmesg output

The sample rates outputted in dmesg and in /proc by ALSA are incorrect
due to a kernel bug.

48000 88200 176400 192000 384000
in your log means
44100 48000 88200 96000 176400 (+192000)

Basically there is a bitfield of

static unsigned int rates[] =
	{ 5512, 8000, 11025, 16000, 22050, 32000, 44100,
	 48000, 64000, 88200, 96000, 176400, 192000 };

which gets interpreted as:

static unsigned int rates[] = {
       8000, 11025, 16000, 22050, 32000, 44100, 48000, 88200,
       96000, 176400, 192000, 384000 };

so the wrong values are printed and possible 192000 is not printed at all.

> [  182.696452] HDMI: detected monitor TX-SR608
> [  182.696456]     at connection type HDMI
> [  182.696462] HDMI: available speakers: FL/FR LFE FC RL/RR RLC/RRC
> [  182.696472] HDMI: supports coding type LPCM: channels = 2, rates =
> 44100 48000 88200 176400 192000 384000, bits = 16 20 24
> [  182.696481] HDMI: supports coding type LPCM: channels = 8, rates =
> 44100 48000 88200 176400 192000 384000, bits = 16 20 24
> [  182.696489] HDMI: supports coding type AC-3: channels = 8, rates =
> 44100 48000 88200, max bitrate = 640000
> [  182.696495] HDMI: supports coding type DTS: channels = 8, rates =
> 48000 88200, max bitrate = 1536000
> [  182.696501] HDMI: supports coding type DSD (One Bit Audio):
> channels = 6, rates = 48000
> [  182.696507] HDMI: supports coding type E-AC-3/DD+ (Dolby Digital
> Plus): channels = 8, rates = 48000 88200
> [  182.696514] HDMI: supports coding type DTS-HD: channels = 8, rates
> = 48000 88200 176400 192000 384000
> [  182.696520] HDMI: supports coding type MLP (Dolby TrueHD): channels
> = 8, rates = 88200 192000
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at mail.0pointer.de
> https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss


-- 
Anssi Hannula



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

  Powered by Linux