We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dcabc90 commit 6236d01Copy full SHA for 6236d01
audio.c.v
@@ -131,8 +131,8 @@ pub const (
131
// You can choose to avoid callbacks and use SDL_QueueAudio() instead, if
132
// you like. Just open your audio device with a NULL callback.
133
//
134
-// `typedef void (SDLCALL * SDL_AudioCallback) (void *userdata, Uint8 * stream)`
135
-pub type AudioCallback = fn (userdata voidptr, stream &u8)
+// `typedef void (SDLCALL * SDL_AudioCallback) (void *userdata, Uint8 * stream, int len)`
+pub type AudioCallback = fn (userdata voidptr, stream &u8, len int)
136
137
// AudioSpec
138
0 commit comments