summaryrefslogtreecommitdiff
path: root/apps/playback.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/playback.c')
-rw-r--r--apps/playback.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/apps/playback.c b/apps/playback.c
index 1b883b8319..9fd25b975d 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -3813,14 +3813,11 @@ void audio_init(void)
3813 3813
3814 pcm_init(); 3814 pcm_init();
3815 3815
3816 codec_init_codec_api(); 3816 codec_thread_init();
3817
3818 make_codec_thread();
3819 3817
3820 /* This thread does buffer, so match its priority */ 3818 /* This thread does buffer, so match its priority */
3821 audio_thread_id = create_thread(audio_thread, audio_stack, 3819 audio_thread_id = create_thread(audio_thread, audio_stack,
3822 sizeof(audio_stack), CREATE_THREAD_FROZEN, 3820 sizeof(audio_stack), 0, audio_thread_name
3823 audio_thread_name
3824 IF_PRIO(, MIN(PRIORITY_BUFFERING, PRIORITY_USER_INTERFACE)) 3821 IF_PRIO(, MIN(PRIORITY_BUFFERING, PRIORITY_USER_INTERFACE))
3825 IF_COP(, CPU)); 3822 IF_COP(, CPU));
3826 3823
@@ -3853,11 +3850,4 @@ void audio_init(void)
3853#ifdef HAVE_DISK_STORAGE 3850#ifdef HAVE_DISK_STORAGE
3854 audio_set_buffer_margin(global_settings.buffer_margin); 3851 audio_set_buffer_margin(global_settings.buffer_margin);
3855#endif 3852#endif
3856
3857 /* It's safe to let the threads run now */
3858#ifdef PLAYBACK_VOICE
3859 voice_thread_resume();
3860#endif
3861 codec_thread_resume();
3862 thread_thaw(audio_thread_id);
3863} 3853}