PDA

View Full Version : PAPlayer and 24bit support (hires music)


coques
2008-10-23, 00:29
When I try to play FLAC/WAV file which is in 96khz/24bit the clock still remains at 44khz, which is bad (the music plays).
When I do the same using DVDplayer it resets the clock and sets up to 96khz, which is correct.

How can I achieve that paplayer is setting up the clock correctly please ?

XBMC SVN:15836
kernel 2.6.26

I use sound card which has only digital output, it's configuration here:
output: digital
AC3 - enabled
DTS - enabled
output device - iec958
passthrough - spdif

my asoundrc:
--------------------------------
pcm.ice1724 {
type hw
card 0
}

ctl.ice1724 {
type hw
card 0
}
pcm.!default {
type plug
slave.pcm "spdif"
}

pcm.!iec958 {
type plug
slave {
pcm "hw:0,1"
format S32_LE
}
}
--------------------------------


Thanks for any help here!

jmarshall
2008-10-23, 01:02
paplayer currently outputs at 48kHz - it will be remedied eventually. Please post a trac ticket about it so that it isn't forgotten.

coques
2008-10-23, 10:51
OK, I will submit a new ticket.

Anyway, If it outputs in 48khz, why my DAC locks at 44khz then ? Is there any conversion after that ?

Can I somehow configure DVDplayer as default player for all music files until this (for me very important issue) is solved ?

thanks.

jmarshall
2008-10-23, 11:13
You can easily by modifying the code, sure. See PlayerCoreFactory.cpp. Alternatively, check cores/paplayer/paplayer_linux.cpp and modify accordingly for 96kHz output.

coques
2008-10-23, 11:30
Thanks.