diff src/audio/mint/SDL_mintaudio_dma8.c @ 2191:29e07f91bc1f

Rename LockAudio,UnlockAudio to LockDevice,UnlockDevice. Also some small fixes
author Patrice Mandin <patmandin@gmail.com>
date Fri, 13 Jul 2007 23:58:22 +0000
parents 866052b01ee5
children 99210400e8b9
line wrap: on
line diff
--- a/src/audio/mint/SDL_mintaudio_dma8.c	Fri Jul 13 22:55:54 2007 +0000
+++ b/src/audio/mint/SDL_mintaudio_dma8.c	Fri Jul 13 23:58:22 2007 +0000
@@ -113,8 +113,8 @@
         }
 
         DEBUG_PRINT((DEBUG_NAME "closeaudio: buffers freed\n"));
-        SDL_free(this->buffer);
-        this->buffer = NULL;
+        SDL_free(this->hidden);
+        this->hidden = NULL;
     }
 }
 
@@ -332,8 +332,8 @@
     /* Set the function pointers */
     impl->OpenDevice = MINTDMA8_OpenDevice;
     impl->CloseDevice = MINTDMA8_CloseDevice;
-    impl->LockAudio = MINTDMA8_LockAudio;
-    impl->UnlockAudio = MINTDMA8_UnlockAudio;
+    impl->LockDevice = MINTDMA8_LockDevice;
+    impl->UnlockDevice = MINTDMA8_UnlockDevice;
     impl->OnlyHasDefaultOutputDevice = 1;
     impl->ProvidesOwnCallbackThread = 1;
     impl->SkipMixerLock = 1;