src/audio/windib/SDL_dibaudio.c
changeset 2026 a5d0758f88d8
parent 2008 4ad1e863d100
child 2049 5f6550e5184f
child 3798 c8b3d3d13ed1
equal deleted inserted replaced
2025:7312feb88dad 2026:a5d0758f88d8
   257     case 16:
   257     case 16:
   258         /* Signed 16 bit audio data */
   258         /* Signed 16 bit audio data */
   259         spec->format = AUDIO_S16;
   259         spec->format = AUDIO_S16;
   260         waveformat.wBitsPerSample = 16;
   260         waveformat.wBitsPerSample = 16;
   261         break;
   261         break;
   262     case 16:
   262     case 32:
   263         /* Signed 32 bit audio data */
   263         /* Signed 32 bit audio data */
   264         spec->format = AUDIO_S32;
   264         spec->format = AUDIO_S32;
   265         waveformat.wBitsPerSample = 32;
   265         waveformat.wBitsPerSample = 32;
   266         break;
   266         break;
   267     default:
   267     default: