提交 3fd7f635 编写于 作者: M malc

sdlaudio: use correct function names in sdl_XXX calls

Signed-off-by: Nmalc <av1474@comtv.ru>
上级 9d168976
...@@ -288,7 +288,7 @@ static int sdl_run_out (HWVoiceOut *hw) ...@@ -288,7 +288,7 @@ static int sdl_run_out (HWVoiceOut *hw)
SDLVoiceOut *sdl = (SDLVoiceOut *) hw; SDLVoiceOut *sdl = (SDLVoiceOut *) hw;
SDLAudioState *s = &glob_sdl; SDLAudioState *s = &glob_sdl;
if (sdl_lock (s, "sdl_callback")) { if (sdl_lock (s, "sdl_run_out")) {
return 0; return 0;
} }
...@@ -308,10 +308,10 @@ static int sdl_run_out (HWVoiceOut *hw) ...@@ -308,10 +308,10 @@ static int sdl_run_out (HWVoiceOut *hw)
hw->rpos = sdl->rpos; hw->rpos = sdl->rpos;
if (sdl->live > 0) { if (sdl->live > 0) {
sdl_unlock_and_post (s, "sdl_callback"); sdl_unlock_and_post (s, "sdl_run_out");
} }
else { else {
sdl_unlock (s, "sdl_callback"); sdl_unlock (s, "sdl_run_out");
} }
return decr; return decr;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册