On Wed, Feb 14, 2001 at 03:44:26PM +0000, Russell King - ARM Linux Admin wrote:
> Peter Naulls writes:
> > Dunno if the above error is limitation of the RiscPC hardware, or maybe
> > of the ARM Linux driver.
> 
> I've never been able to find a way of programming the RiscPC hardware to
> produce exactly 44.1kHz audio - it seems to be a complete impossibility.
> Even following the instructions in the VIDC20 datasheet for selecting
> 44.1kHz does not produce 44.1kHz on the RiscPC.
> 
> I'm guessing that your mp3 player is trying to compensate by doing a lot
> of FP calculations, and they are taking too long.

  From the dirty-trick-but-it-works department:

Just advertise to the applications that the driver supports 44100 Hz.
Yes, the sound will be played 5.5% too slow, but it fixes all userland
programs. Maybe RiscOS also gets it wrong and uses *exactly* the same
trick.

Hey, it even works on a LART+KSB combo where we tell the applications
that we do 44.1kHz while the sound output actually runs on 48kHz
(because of lack of correct crystals). Yes, sound is 8.8% too fast, but
the applications don't care ;-)

Anyway, try it and see if it fixes the problem.


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: [EMAIL PROTECTED]
WWW: http://www-ict.its.tudelft.nl/~erik/

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to