Merge commit '3a7f96fd99528968c39b5be81db067ca018d432b' into dev
This commit is contained in:
9
external/SDL/test/testaudioinfo.c
vendored
9
external/SDL/test/testaudioinfo.c
vendored
@@ -14,7 +14,7 @@
|
||||
#include <SDL3/SDL_test.h>
|
||||
|
||||
static void
|
||||
print_devices(SDL_bool recording)
|
||||
print_devices(bool recording)
|
||||
{
|
||||
SDL_AudioSpec spec;
|
||||
const char *typestr = (recording ? "recording" : "playback");
|
||||
@@ -63,9 +63,6 @@ int main(int argc, char **argv)
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* Enable standard application logging */
|
||||
SDL_SetLogPriority(SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO);
|
||||
|
||||
/* Parse commandline */
|
||||
if (!SDLTest_CommonDefaultArgs(state, argc, argv)) {
|
||||
return 1;
|
||||
@@ -91,8 +88,8 @@ int main(int argc, char **argv)
|
||||
|
||||
SDL_Log("Using audio driver: %s\n\n", SDL_GetCurrentAudioDriver());
|
||||
|
||||
print_devices(SDL_FALSE);
|
||||
print_devices(SDL_TRUE);
|
||||
print_devices(false);
|
||||
print_devices(true);
|
||||
|
||||
if (SDL_GetAudioDeviceFormat(SDL_AUDIO_DEVICE_DEFAULT_PLAYBACK, &spec, &frames)) {
|
||||
SDL_Log("Default Playback Device:\n");
|
||||
|
||||
Reference in New Issue
Block a user