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