Quote:
Originally Posted by SirMontaire
The problem: mplayer use the same sample rate for each song.
So if you have a song with lower sample rate than default, it plays faster 
so -speed not an exact option...
-srate would be the proper way, but set it before each song is not an option.
I think somebody should check the source... 
|
In my tests, I saw both the problem of too fast (a song encoded at 44.1KHz played at 48KHz) and too slow (48KHz song played at 44.1KHz).
The problem does not happen all the time, and it appears to only happen when switching. It seems as if the set rate command is sometimes ignored by the hardware codec.
My guess is that the problem is either in the WM8960 driver in the kernel, or at the hardware level.
The srate parameter should work, but it should not be per song but constant. In this way mplayer will do rate transformation, so no "set rate" command needs to be sent to the codec.