[MPlayer-dev-eng] libao2

Anders Johansson ajh at atri.curtin.edu.au
Sat Nov 24 06:49:06 CET 2001


Hi 

The changes to the libao2 interface is made. There are changes made to
all the ao_xxx drivers, but I haven't been able to test all the drivers
I made changes in. I am quite confident they compile, but there might
be bugs that may affect the audio-video sync. There are two changes made:

1. The global variables in audio_out.h are now in a struct called
ao_data.

2. The return type from get_delay() is now float delay [d] in seconds
instead of number of bytes in the buffer. i.e get the delay in bytes
[db] as before and divide sample frequency [fs] times number of
channels [ns] times number of bytes per sample [bs].

     db
d=--------
  fs*ns*bs

If you find a bug in any of the drivers please try to fix it
yourself. I can only test bug fixes for the oss driver.

//Anders



More information about the MPlayer-dev-eng mailing list