Skip to content

Commit

Permalink
Sync SDL3 header -> wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
SDLWikiBot committed Apr 25, 2024
1 parent b04468c commit 937cc3f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions SDL3/SDL_AudioFormat.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ typedef Uint16 SDL_AudioFormat;

#define SDL_AUDIO_F32LE 0x8120 /**< 32-bit floating point samples */
#define SDL_AUDIO_F32BE 0x9120 /**< As above, but big-endian byte order */

#if SDL_BYTEORDER == SDL_LIL_ENDIAN
#define SDL_AUDIO_S16 SDL_AUDIO_S16LE
#define SDL_AUDIO_S32 SDL_AUDIO_S32LE
#define SDL_AUDIO_F32 SDL_AUDIO_F32LE
#else
#define SDL_AUDIO_S16 SDL_AUDIO_S16BE
#define SDL_AUDIO_S32 SDL_AUDIO_S32BE
#define SDL_AUDIO_F32 SDL_AUDIO_F32BE
```
## Remarks
Expand Down

0 comments on commit 937cc3f

Please sign in to comment.