]> git.sesse.net Git - vlc/blob - include/audio_sys.h
329d2e66e7aad394c9714b5d24d19b4dc98973a1
[vlc] / include / 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