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

it breaks things on some drivers)
This commit is contained in:
Sam Lantinga
2001-07-07 23:12:42 +00:00
parent 560f273160
commit a2bcc85453

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);