SDL_os2audio.c (OS2_OpenDevice): remove assignment to wrong spec member

Correct assignment to 'format' member is done below, already.
Ozkan Sezer 2020-10-14 23:01:04 +03:00
parent fe2cc8d86c
commit 72594e255a
1 changed files with 1 additions and 2 deletions

View File

@ -280,7 +280,6 @@ static int OS2_OpenDevice(_THIS, void *handle, const char *devname,
{
debug( "Unsupported audio format, AUDIO_S16 used" );
SDLAudioFmt = AUDIO_S16;
this->spec.freq = AUDIO_S16;
}
pAData = SDL_calloc( 1, sizeof(SDL_PrivateAudioData) );