From 7c5078d8bdabfa9dec40d839503f0e0ddc41d0d4 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Sun, 28 May 2017 21:50:37 +0200 Subject: [PATCH] qnx: Removed unnecessary check for available audio devices. --- src/audio/qsa/SDL_qsa_audio.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/audio/qsa/SDL_qsa_audio.c b/src/audio/qsa/SDL_qsa_audio.c index e89fb9344..e1f12a769 100644 --- a/src/audio/qsa/SDL_qsa_audio.c +++ b/src/audio/qsa/SDL_qsa_audio.c @@ -722,7 +722,6 @@ static int QSA_Init(SDL_AudioDriverImpl * impl) { snd_pcm_t *handle = NULL; - int32_t status = 0; /* Clear devices array */ SDL_zero(qsa_playback_device); @@ -751,13 +750,6 @@ QSA_Init(SDL_AudioDriverImpl * impl) impl->OnlyHasDefaultOutputDevice = 0; impl->OnlyHasDefaultCaptureDevice = 0; - /* Check if io-audio manager is running or not */ - status = snd_cards(); - if (status == 0) { - /* if no, return immediately */ - return 1; - } - return 1; /* this audio target is available. */ }