# HG changeset patch # User Sam Lantinga # Date 994547562 0 # Node ID dab667b72ccc26492b14cfac10ce2e8470ac0087 # Parent e85e03f195b4e49549836deec6b49fd65a14806f Fixed the DMA driver not to reset the audio descriptor (not needed, and it breaks things on some drivers) diff -r e85e03f195b4 -r dab667b72ccc 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);