OSDN Git Service

sdlaudio: use correct function names in sdl_XXX calls
authormalc <av1474@comtv.ru>
Fri, 18 Sep 2009 07:19:00 +0000 (11:19 +0400)
committermalc <av1474@comtv.ru>
Fri, 18 Sep 2009 10:04:36 +0000 (14:04 +0400)
Signed-off-by: malc <av1474@comtv.ru>
audio/sdlaudio.c

index 895c3bf..250c7ae 100644 (file)
@@ -288,7 +288,7 @@ static int sdl_run_out (HWVoiceOut *hw)
     SDLVoiceOut *sdl = (SDLVoiceOut *) hw;
     SDLAudioState *s = &glob_sdl;
 
-    if (sdl_lock (s, "sdl_callback")) {
+    if (sdl_lock (s, "sdl_run_out")) {
         return 0;
     }
 
@@ -308,10 +308,10 @@ static int sdl_run_out (HWVoiceOut *hw)
     hw->rpos = sdl->rpos;
 
     if (sdl->live > 0) {
-        sdl_unlock_and_post (s, "sdl_callback");
+        sdl_unlock_and_post (s, "sdl_run_out");
     }
     else {
-        sdl_unlock (s, "sdl_callback");
+        sdl_unlock (s, "sdl_run_out");
     }
     return decr;
 }