Skip to content

Commit

Permalink
audio: fix cut off AudioCallback signature (#558) (#566)
Browse files Browse the repository at this point in the history
  • Loading branch information
larpon authored Aug 31, 2023
1 parent 8eccf18 commit 22fd41f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions audio.c.v
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ pub const (
// You can choose to avoid callbacks and use SDL_QueueAudio() instead, if
// you like. Just open your audio device with a NULL callback.
//
// `typedef void (SDLCALL * SDL_AudioCallback) (void *userdata, Uint8 * stream)`
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)

// AudioSpec
//
Expand Down

0 comments on commit 22fd41f

Please sign in to comment.