comparison src/audio/SDL_audio_c.h @ 2665:f39a056aec8b gsoc2008_audio_resampling

More streamer work.
author Aaron Wishnick <schnarf@gmail.com>
date Tue, 12 Aug 2008 01:03:05 +0000
parents 344c8da164f4
children
comparison
equal deleted inserted replaced
2664:344c8da164f4 2665:f39a056aec8b
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
53 /* vi: set ts=4 sw=4 expandtab: */ 45 /* vi: set ts=4 sw=4 expandtab: */