summaryrefslogtreecommitdiffstats
path: root/apps/plugins/sdl/src
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/sdl/src')
-rw-r--r--apps/plugins/sdl/src/audio/rockbox/SDL_rockboxaudio.c1
-rw-r--r--apps/plugins/sdl/src/thread/rockbox/SDL_systhread.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/sdl/src/audio/rockbox/SDL_rockboxaudio.c b/apps/plugins/sdl/src/audio/rockbox/SDL_rockboxaudio.c
index 2df820bee5..05b6c55853 100644
--- a/apps/plugins/sdl/src/audio/rockbox/SDL_rockboxaudio.c
+++ b/apps/plugins/sdl/src/audio/rockbox/SDL_rockboxaudio.c
@@ -222,6 +222,7 @@ static void ROCKBOXAUD_CloseAudio(_THIS)
SDL_FreeAudioMem(this->hidden->rb_buf[i]);
}
rb->pcm_play_stop();
+ rb->pcm_set_frequency(HW_SAMPR_DEFAULT);
}
static int ROCKBOXAUD_OpenAudio(_THIS, SDL_AudioSpec *spec)
diff --git a/apps/plugins/sdl/src/thread/rockbox/SDL_systhread.c b/apps/plugins/sdl/src/thread/rockbox/SDL_systhread.c
index 214cbe4597..f9dc877815 100644
--- a/apps/plugins/sdl/src/thread/rockbox/SDL_systhread.c
+++ b/apps/plugins/sdl/src/thread/rockbox/SDL_systhread.c
@@ -58,7 +58,7 @@ int SDL_SYS_CreateThread(SDL_Thread *thread, void *args)
thread->handle = rb->create_thread(rbsdl_runthread, stacks[threadnum], DEFAULT_STACK_SIZE,
0, names[threadnum] /* collisions allowed? */
IF_PRIO(, PRIORITY_USER_INTERFACE)
- IF_COP(, COP));
+ IF_COP(, CPU));
threadnum++;