diff options
author | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-06-02 23:25:43 +0000 |
---|---|---|
committer | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-06-02 23:25:43 +0000 |
commit | 7a2eec4b59f4055cb022710a71ebee498c7f55c5 (patch) | |
tree | 4cb2aff1cc18eeac5d228717019f40c0c7871187 /libao2/audio_out.c | |
parent | 7c8bb6e4b90bb3890bff95df2dde0b510e6bcfa4 (diff) | |
download | mpv-7a2eec4b59f4055cb022710a71ebee498c7f55c5.tar.bz2 mpv-7a2eec4b59f4055cb022710a71ebee498c7f55c5.tar.xz |
audio out drivers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@955 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2/audio_out.c')
-rw-r--r-- | libao2/audio_out.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/libao2/audio_out.c b/libao2/audio_out.c new file mode 100644 index 0000000000..0e54a62672 --- /dev/null +++ b/libao2/audio_out.c @@ -0,0 +1,29 @@ + +#include <stdio.h> +#include <stdlib.h> + +#include "../config.h" + +#include "audio_out.h" + +// there are some globals: +int ao_samplerate=0; +int ao_channels=0; +int ao_format=0; +int ao_bps=0; +int ao_outburst=OUTBURST; // config.h default +int ao_buffersize=-1; + +extern ao_functions_t audio_out_oss; +//extern ao_functions_t audio_out_ossold; +//extern ao_functions_t audio_out_alsa; +//extern ao_functions_t audio_out_esd; +extern ao_functions_t audio_out_null; + +ao_functions_t* audio_out_drivers[] = +{ + &audio_out_oss, + &audio_out_null, + NULL +}; + |