Posts: 26,215
Joined: Oct 2003
Reputation:
187
it depends on which version you had. the new version is the 3 parameter one.
increasing the first parameter in this case increases the total cache readahead we do.
increasing it will increase the amount of readahead in the cache. 1mb is the setting i gave you - try doubling it.
btw: have you tried other codecs to see if they behave the same way?
cheers,
jonathan
Posts: 26,215
Joined: Oct 2003
Reputation:
187
exactly. paplayer does not use any of the cache settings at all - i only implemented the readahead class yesterday. eventually it'll be all hooked up once the bugs are ironed out and we have a solid implementation.
to be honest, with mp3 there's no reason why you'd need that much readahead - 2 mb is over a minute of data for most mp3's - it seems to me the issue lies elsewhere.
do you get anything output about the output buffers being low (in the logs?)
cheers,
jonathan
Posts: 26,215
Joined: Oct 2003
Reputation:
187
another thing: don't use pcm passthrough (audio settings), and see if disabling/enabling hq passthrough effects anything.
cheers,
jonathan
Posts: 176
Joined: Oct 2004
Reputation:
0
same result jonathan.....upgraded the buffer to 65535*32 and still the same result, altough not as frequent as 65535*4.
Posts: 12
Joined: May 2005
Reputation:
0
has anyone tested gapless playback with the new buffer sizes?
Posts: 152
Joined: Oct 2003
Reputation:
0
still not completely gapless here. i still get hiccups as well.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
please:
i need you to:
1. try as many different codecs as possible. supported are: mp3, mpc, ogg, flac, ape, shn.
2. get debug output (loglevel 0) for when it glitches.
3. check with pcm passthrough disabled.
4. if it glitches, also try tracks on the xbox harddisk and see if they glitch.
i can't reproduce, so can't do much without good reports.
cheers,
jonathan
Posts: 152
Joined: Oct 2003
Reputation:
0
should we disable "output to all speakers" as well?
Posts: 26,215
Joined: Oct 2003
Reputation:
187
otas shouldn't make too much of a difference - let me know if you find that it does ofcourse!
if it takes a while to load the file, then that's probably what's causing the gaps for you (output buffer runs dry). that'll be improved later.
i'm more worried about the glitches during normal file playback.
cheers,
jonathan