Fixed the DMA driver not to reset the audio descriptor (not needed, and

it breaks things on some drivers)

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4093
This commit is contained in:
Sam Lantinga 2001-07-07 23:12:42 +00:00
parent 6369aeaaa5
commit e70ae1ccbc

View file

@ -260,7 +260,6 @@ static int DMA_ReopenAudio(_THIS, const char *audiodev, int format, int stereo,
SDL_SetError("Couldn't open %s: %s", audiodev, strerror(errno));
return(-1);
}
ioctl(audio_fd, SNDCTL_DSP_RESET, 0);
/* Calculate the final parameters for this audio specification */
SDL_CalculateAudioSpec(spec);