Fixed the DMA driver not to reset the audio descriptor (not needed, and
authorSam Lantinga <slouken@lokigames.com>
Sat, 07 Jul 2001 23:12:42 +0000
changeset 92 dab667b72ccc
parent 91 e85e03f195b4
child 93 fc774f445e10
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
--- a/src/audio/dma/SDL_dmaaudio.c	Sat Jul 07 20:20:17 2001 +0000
+++ b/src/audio/dma/SDL_dmaaudio.c	Sat Jul 07 23:12:42 2001 +0000
@@ -260,7 +260,6 @@
 		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);