diff src/audio/dma/SDL_dmaaudio.c @ 92:dab667b72ccc

Fixed the DMA driver not to reset the audio descriptor (not needed, and it breaks things on some drivers)
author Sam Lantinga <slouken@lokigames.com>
date Sat, 07 Jul 2001 23:12:42 +0000
parents d3bc792e136d
children ae6e6b73333f
line wrap: on
line diff
--- 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);