src/audio/SDL_audio_c.h
branchgsoc2008_audio_resampling
changeset 2664 344c8da164f4
parent 1982 3b4ce57c6215
child 2665 f39a056aec8b
equal deleted inserted replaced
2663:0caed045d01b 2664:344c8da164f4
    40     SDL_AudioFormat dst_fmt;
    40     SDL_AudioFormat dst_fmt;
    41     SDL_AudioFilter filter;
    41     SDL_AudioFilter filter;
    42 } SDL_AudioTypeFilters;
    42 } SDL_AudioTypeFilters;
    43 extern const SDL_AudioTypeFilters sdl_audio_type_filters[];
    43 extern const SDL_AudioTypeFilters sdl_audio_type_filters[];
    44 
    44 
       
    45 /* Streamer */
       
    46 typedef struct
       
    47 {
       
    48 	Uint8 *buffer;
       
    49 	int max_len;				// the maximum length in bytes
       
    50 	int read_pos, write_pos;	// the position of the write and read heads in bytes
       
    51 } SDL_AudioStreamer;
       
    52 
    45 /* vi: set ts=4 sw=4 expandtab: */
    53 /* vi: set ts=4 sw=4 expandtab: */