src/audio/mint/SDL_mintaudio_xbios.c
branchSDL-1.2
changeset 5867 94e0116059f4
parent 5653 9a7d629b403a
child 6137 4720145f848b
     1.1 --- a/src/audio/mint/SDL_mintaudio_xbios.c	Fri Sep 02 13:55:31 2011 -0400
     1.2 +++ b/src/audio/mint/SDL_mintaudio_xbios.c	Sat Sep 03 09:52:45 2011 +0200
     1.3 @@ -384,7 +384,7 @@
     1.4  
     1.5  static void Mint_InitAudio(_THIS, SDL_AudioSpec *spec)
     1.6  {
     1.7 -	int channels_mode, dmaclock, prediv;
     1.8 +	int channels_mode, prediv;
     1.9  	void *buffer;
    1.10  
    1.11  	/* Stop currently playing sound */
    1.12 @@ -412,7 +412,6 @@
    1.13  		DEBUG_PRINT((DEBUG_NAME "Setmode() failed\n"));
    1.14  	}
    1.15  
    1.16 -	dmaclock = MINTAUDIO_frequencies[MINTAUDIO_numfreq].masterclock;
    1.17  	prediv = MINTAUDIO_frequencies[MINTAUDIO_numfreq].predivisor;
    1.18  	if (MINTAUDIO_frequencies[MINTAUDIO_numfreq].gpio_bits != -1) {
    1.19  		Gpio(GPIO_SET,7);		/* DSP port gpio outputs */