From e70ae1ccbc237fe6d4421fafd4e4d82f3f6532ce 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) --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4093 --- 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);