[MPlayer-dev-eng] audio plugin

Anders Johansson ajh at atri.curtin.edu.au
Sun Nov 25 15:39:39 CET 2001


Hi

Audio plugin interface working, and first plugin created. The plugin
is a dummy that only buffers and delays the output signal, but it
serves as an easy example of how to write plugins.

To test it, run:
./mplayer -aop delay -aop_delay 1024

-aop for the plugin(s) one wants to use and -aop_delay for the number
of bytes to delay the audio data.

(You won't hear or see any difference cause the delay is compensated
for (which is the idea :) )

If you are interested in the details you will find the source in:
libao2/pl_delay.c and libao2/ao_plugin.c

Next up will be a plugin that converts between different data types.

Cheers,
//Anders



More information about the MPlayer-dev-eng mailing list