From 96f02a9aa933f928d6b8e1500607f9ddea29f9ae Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Thu, 21 Jul 2011 22:25:09 +0000 Subject: is_codec_thread() is not needed anymore since PCM buffer calls other than volume level are no longer made by the voice thread. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30189 a1c6a512-1295-4272-9138-f99709370657 --- apps/codec_thread.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'apps/codec_thread.c') diff --git a/apps/codec_thread.c b/apps/codec_thread.c index a7bff746d8..945f0b0605 100644 --- a/apps/codec_thread.c +++ b/apps/codec_thread.c @@ -636,12 +636,6 @@ void codec_thread_resume(void) thread_thaw(codec_thread_id); } -/* Is the current thread the codec thread? */ -bool is_codec_thread(void) -{ - return thread_self() == codec_thread_id; -} - #ifdef HAVE_PRIORITY_SCHEDULING /* Obtain codec thread's current priority */ int codec_thread_get_priority(void) -- cgit v1.2.3