Skip to content

Commit

Permalink
Fixed the DMA driver not to reset the audio descriptor (not needed, and
Browse files Browse the repository at this point in the history
it breaks things on some drivers)
  • Loading branch information
Sam Lantinga committed Jul 7, 2001
1 parent e3c265f commit f743aa0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/audio/dma/SDL_dmaaudio.c
Expand Up @@ -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);
Expand Down

0 comments on commit f743aa0

Please sign in to comment.