src/audio/SDL_audio_c.h
branchgsoc2008_audio_resampling
changeset 2664 344c8da164f4
parent 1982 3b4ce57c6215
child 2665 f39a056aec8b
     1.1 --- a/src/audio/SDL_audio_c.h	Tue Aug 12 00:24:42 2008 +0000
     1.2 +++ b/src/audio/SDL_audio_c.h	Tue Aug 12 00:50:58 2008 +0000
     1.3 @@ -42,4 +42,12 @@
     1.4  } SDL_AudioTypeFilters;
     1.5  extern const SDL_AudioTypeFilters sdl_audio_type_filters[];
     1.6  
     1.7 +/* Streamer */
     1.8 +typedef struct
     1.9 +{
    1.10 +	Uint8 *buffer;
    1.11 +	int max_len;				// the maximum length in bytes
    1.12 +	int read_pos, write_pos;	// the position of the write and read heads in bytes
    1.13 +} SDL_AudioStreamer;
    1.14 +
    1.15  /* vi: set ts=4 sw=4 expandtab: */