src/audio/winmm/SDL_winmm.c
changeset 9406 3547065d936d
parent 9404 f48039db971c
child 9410 e25530faeda0
equal deleted inserted replaced
9405:22d4e4b5a5e5 9406:3547065d936d
   223     SDL_AudioFormat test_format = SDL_FirstAudioFormat(this->spec.format);
   223     SDL_AudioFormat test_format = SDL_FirstAudioFormat(this->spec.format);
   224     int valid_datatype = 0;
   224     int valid_datatype = 0;
   225     MMRESULT result;
   225     MMRESULT result;
   226     WAVEFORMATEX waveformat;
   226     WAVEFORMATEX waveformat;
   227     UINT devId = WAVE_MAPPER;  /* WAVE_MAPPER == choose system's default */
   227     UINT devId = WAVE_MAPPER;  /* WAVE_MAPPER == choose system's default */
   228     char *utf8 = NULL;
       
   229     UINT i;
   228     UINT i;
   230 
   229 
   231     if (handle != NULL) {  /* specific device requested? */
   230     if (handle != NULL) {  /* specific device requested? */
   232         const size_t val = (size_t) handle;
   231         const size_t val = (size_t) handle;
   233         devId = (UINT) val;
   232         devId = (UINT) val;