diff options
author | malc <av1474@comtv.ru> | 2009-09-18 11:19:00 +0400 |
---|---|---|
committer | malc <av1474@comtv.ru> | 2009-09-18 14:04:36 +0400 |
commit | 3fd7f635cdd5ee13f08c6ba1b0974a17eb9c9347 (patch) | |
tree | aa6b7f1c5a6baa40b2123f55b40fe0e4cc682517 /audio/sdlaudio.c | |
parent | oss: use audio_pcm_hw_clip_out (diff) | |
download | qemu-kvm-3fd7f635cdd5ee13f08c6ba1b0974a17eb9c9347.tar.gz qemu-kvm-3fd7f635cdd5ee13f08c6ba1b0974a17eb9c9347.tar.bz2 qemu-kvm-3fd7f635cdd5ee13f08c6ba1b0974a17eb9c9347.zip |
sdlaudio: use correct function names in sdl_XXX calls
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'audio/sdlaudio.c')
-rw-r--r-- | audio/sdlaudio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/sdlaudio.c b/audio/sdlaudio.c index 895c3bfda..250c7aefa 100644 --- a/audio/sdlaudio.c +++ b/audio/sdlaudio.c @@ -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; } |