This is mostly a special release for William Kendrick.
New API function:
/* Set a function that is called after all mixing is performed.
This can be used to provide real-time visual display of the audio stream
or add a custom mixer filter for the stream data.
*/
extern void Mix_SetPostMix(void (*mix_func)(void *udata, Uint8 *stream, int len), void *arg);
-Sam Lantinga (slouken at devolution.com)
Lead Programmer, Loki Entertainment Software–
“Any sufficiently advanced bug is indistinguishable from a feature”
– Rich Kulawiec
This is mostly a special release for William Kendrick.
Yay! Thanks!!! I’m gonna try it out in a few minutes! Whee!!!
New API function:
/* Set a function that is called after all mixing is performed.
This can be used to provide real-time visual display of the audio stream
or add a custom mixer filter for the stream data.
*/
extern void Mix_SetPostMix(void (*mix_func)(void *udata, Uint8 *stream, int len), void *arg);
Eek - looks complicated. I’ll see if I can figure it out and whip up a
little demo. of it in action…