src/audio/SDL_audio.c
changeset 8919 c9be8299ba6b
parent 8833 ae720d61d14d
child 9010 6d059ed9b6ca
     1.1 --- a/src/audio/SDL_audio.c	Mon Jun 23 11:06:50 2014 -0700
     1.2 +++ b/src/audio/SDL_audio.c	Tue Jun 24 01:38:21 2014 -0700
     1.3 @@ -1094,7 +1094,7 @@
     1.4          id = open_audio_device(NULL, 0, desired, obtained,
     1.5                                 SDL_AUDIO_ALLOW_ANY_CHANGE, 1);
     1.6      } else {
     1.7 -        id = open_audio_device(NULL, 0, desired, desired, 0, 1);
     1.8 +        id = open_audio_device(NULL, 0, desired, NULL, 0, 1);
     1.9      }
    1.10  
    1.11      SDL_assert((id == 0) || (id == 1));