From a2bcc854533dfecd97e6ac47213df1eb77dafb8e Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 7 Jul 2001 23:12:42 +0000 Subject: [PATCH] Fixed the DMA driver not to reset the audio descriptor (not needed, and it breaks things on some drivers) --- src/audio/dma/SDL_dmaaudio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/audio/dma/SDL_dmaaudio.c b/src/audio/dma/SDL_dmaaudio.c index 2a3354da9..344abdeb4 100644 --- a/src/audio/dma/SDL_dmaaudio.c +++ b/src/audio/dma/SDL_dmaaudio.c @@ -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);