]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_main.h
eliminated references to channel_t and sfx_t in OGG_FetchSound and
[xonotic/darkplaces.git] / snd_main.h
index 2b061053cbb15b721bc76e0f69be59605247e567..51d2820dea73e8bb95a0d1c41833010d7b3bde49 100644 (file)
@@ -96,7 +96,7 @@ typedef struct channel_s
 
 // Sound fetching functions
 // "start" is both an input and output parameter: it returns the actual start time of the sound buffer
-typedef const snd_buffer_t* (*snd_fetcher_getsb_t) (channel_t* ch, unsigned int *start, unsigned int nbsampleframes);
+typedef const snd_buffer_t* (*snd_fetcher_getsb_t) (void *sfxfetcher, void **chfetcherpointer, unsigned int *start, unsigned int nbsampleframes);
 typedef void (*snd_fetcher_endsb_t) (channel_t* ch);
 typedef void (*snd_fetcher_free_t) (sfx_t* sfx);
 typedef const snd_format_t* (*snd_fetcher_getfmt_t) (sfx_t* sfx);