Skip to content

Commit

Permalink
audio: fix cut off AudioCallback signature (#558) (#561)
Browse files Browse the repository at this point in the history
  • Loading branch information
larpon authored Aug 31, 2023
1 parent 77c2914 commit e2f3f78
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 e2f3f78

Please sign in to comment.