Skip to content

Commit

Permalink
qnx: Removed unnecessary check for available audio devices.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed May 28, 2017
1 parent 1e60ea7 commit 7c5078d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/audio/qsa/SDL_qsa_audio.c
Expand Up @@ -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);
Expand Down Expand Up @@ -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. */
}

Expand Down

0 comments on commit 7c5078d

Please sign in to comment.