Skip to content

Conversation

pionere
Copy link

@pionere pionere commented Aug 26, 2025

  • use calloc instead of malloc + SDL_zero
  • no need for the SDL_First/NextAudioFormat loop since there is only one supported audio-format (which is always in the list)

- use calloc instead of malloc + SDL_zero
- no need for the SDL_First/NextAudioFormat loop since there is only one supported audio-format (which is always in the list)
@pionere pionere changed the title switch: cleanup SWITCHAUDIO_OpenDevice switch [sdl2]: cleanup SWITCHAUDIO_OpenDevice Aug 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant