Mercurial > sdl-ios-xcode
comparison src/audio/SDL_audio_c.h @ 3021:f3dcf04412cf
First shot at new audio resampling code.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Sun, 11 Jan 2009 04:46:42 +0000 |
parents | 99210400e8b9 |
children | f7b03b6838cb |
comparison
equal
deleted
inserted
replaced
3020:70d876a0b90e | 3021:f3dcf04412cf |
---|---|
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 /* this is used internally to access some autogenerated code. */ | |
46 typedef struct | |
47 { | |
48 SDL_AudioFormat fmt; | |
49 int channels; | |
50 int upsample; | |
51 int multiple; | |
52 SDL_AudioFilter filter; | |
53 } SDL_AudioRateFilters; | |
54 extern const SDL_AudioRateFilters sdl_audio_rate_filters[]; | |
55 | |
45 /* vi: set ts=4 sw=4 expandtab: */ | 56 /* vi: set ts=4 sw=4 expandtab: */ |