MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / SDL_FirstAudioFormat

Function SDL_FirstAudioFormat

deps/SDL2/src/audio/SDL_audio.c:1646–1656  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1644};
1645
1646SDL_AudioFormat
1647SDL_FirstAudioFormat(SDL_AudioFormat format)
1648{
1649 for (format_idx = 0; format_idx < NUM_FORMATS; ++format_idx) {
1650 if (format_list[format_idx][0] == format) {
1651 break;
1652 }
1653 }
1654 format_idx_sub = 0;
1655 return SDL_NextAudioFormat();
1656}
1657
1658SDL_AudioFormat
1659SDL_NextAudioFormat(void)

Callers 15

NAS_OpenDeviceFunction · 0.85
openslES_CreatePCMPlayerFunction · 0.85
PAUDIO_OpenDeviceFunction · 0.85
WINMM_OpenDeviceFunction · 0.85
ANDROIDAUDIO_OpenDeviceFunction · 0.85
HAIKUAUDIO_OpenDeviceFunction · 0.85
ALSA_OpenDeviceFunction · 0.85
SNDIO_OpenDeviceFunction · 0.85
ESD_OpenDeviceFunction · 0.85
WASAPI_PrepDeviceFunction · 0.85
ARTS_OpenDeviceFunction · 0.85

Calls 1

SDL_NextAudioFormatFunction · 0.85

Tested by

no test coverage detected