diff 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
line wrap: on
line diff
--- a/src/audio/SDL_audio_c.h	Sun Jan 11 04:46:14 2009 +0000
+++ b/src/audio/SDL_audio_c.h	Sun Jan 11 04:46:42 2009 +0000
@@ -42,4 +42,15 @@
 } SDL_AudioTypeFilters;
 extern const SDL_AudioTypeFilters sdl_audio_type_filters[];
 
+/* this is used internally to access some autogenerated code. */
+typedef struct
+{
+    SDL_AudioFormat fmt;
+    int channels;
+    int upsample;
+    int multiple;
+    SDL_AudioFilter filter;
+} SDL_AudioRateFilters;
+extern const SDL_AudioRateFilters sdl_audio_rate_filters[];
+
 /* vi: set ts=4 sw=4 expandtab: */