changeset 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 e85e03f195b4
children fc774f445e10
files src/audio/dma/SDL_dmaaudio.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
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);