-
-
Notifications
You must be signed in to change notification settings - Fork 798
Open
Description
Context
OpenAudioDevice declares the allowed_changes
as a bool
when the documentation shows that it is supposed to be a u32
flag set.
Vendor code:
Odin/vendor/sdl2/sdl_audio.odin
Lines 150 to 154 in 315cd51
OpenAudioDevice :: proc(device: cstring, | |
iscapture: bool, | |
desired: ^AudioSpec, | |
obtained: ^AudioSpec, | |
allowed_changes: bool) -> AudioDeviceID --- |
SDL reference:
https://wiki.libsdl.org/SDL2/SDL_OpenAudioDevice
Expected Behavior
The function should allow either a generic u32
or a bit_set
of the options.
Current Behavior
The last parameter is a bool
FourteenBrush
Metadata
Metadata
Assignees
Labels
No labels