]> git.sesse.net Git - vlc/blob - src/audio_output/audio_sys.h
79ed6e306018f42098c9e4cf2282830ad32388dc
[vlc] / src / audio_output / audio_sys.h
1 /*****************************************************************************
2  * audio_sys.h : header of the method-dependant functions library
3  * (c)1999 VideoLAN
4  *****************************************************************************
5  * Required headers:
6  * - "common.h" ( byte_t )
7  * - "audio_output.h" ( aout_dsp_t )
8  *****************************************************************************/
9
10 /*****************************************************************************
11  * Prototypes
12  *****************************************************************************/
13 #ifdef AUDIO_DUMMY
14 int  aout_DummySysOpen          ( aout_thread_t *p_aout );
15 int  aout_DummySysReset         ( aout_thread_t *p_aout );
16 int  aout_DummySysSetFormat     ( aout_thread_t *p_aout );
17 int  aout_DummySysSetChannels   ( aout_thread_t *p_aout );
18 int  aout_DummySysSetRate       ( aout_thread_t *p_aout );
19 long aout_DummySysGetBufInfo    ( aout_thread_t *p_aout, long l_buffer_info );
20 void aout_DummySysPlaySamples   ( aout_thread_t *p_aout, byte_t *buffer, int i_size );
21 void aout_DummySysClose         ( aout_thread_t *p_aout );
22 #endif
23 #ifdef AUDIO_DSP
24 int  aout_DspSysOpen            ( aout_thread_t *p_aout );
25 int  aout_DspSysReset           ( aout_thread_t *p_aout );
26 int  aout_DspSysSetFormat       ( aout_thread_t *p_aout );
27 int  aout_DspSysSetChannels     ( aout_thread_t *p_aout );
28 int  aout_DspSysSetRate         ( aout_thread_t *p_aout );
29 long aout_DspSysGetBufInfo      ( aout_thread_t *p_aout, long l_buffer_info );
30 void aout_DspSysPlaySamples     ( aout_thread_t *p_aout, byte_t *buffer, int i_size );
31 void aout_DspSysClose           ( aout_thread_t *p_aout );
32 #endif
33 #ifdef AUDIO_ESD
34 int  aout_EsdSysOpen            ( aout_thread_t *p_aout );
35 int  aout_EsdSysReset           ( aout_thread_t *p_aout );
36 int  aout_EsdSysSetFormat       ( aout_thread_t *p_aout );
37 int  aout_EsdSysSetChannels     ( aout_thread_t *p_aout );
38 int  aout_EsdSysSetRate         ( aout_thread_t *p_aout );
39 long aout_EsdSysGetBufInfo      ( aout_thread_t *p_aout, long l_buffer_info );
40 void aout_EsdSysPlaySamples     ( aout_thread_t *p_aout, byte_t *buffer, int i_size );
41 void aout_EsdSysClose           ( aout_thread_t *p_aout );
42 #endif