diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2011-07-21 22:25:09 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2011-07-21 22:25:09 +0000 |
commit | 96f02a9aa933f928d6b8e1500607f9ddea29f9ae (patch) | |
tree | 6cb7b786ccdf60b9a07e1ca2a3c5684269d7a85b /apps/codec_thread.c | |
parent | 423d5a75777eb3e6047f8d7c4e14fc3a7c348271 (diff) | |
download | rockbox-96f02a9aa933f928d6b8e1500607f9ddea29f9ae.tar.gz rockbox-96f02a9aa933f928d6b8e1500607f9ddea29f9ae.zip |
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
Diffstat (limited to 'apps/codec_thread.c')
-rw-r--r-- | apps/codec_thread.c | 6 |
1 files changed, 0 insertions, 6 deletions
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) | |||
636 | thread_thaw(codec_thread_id); | 636 | thread_thaw(codec_thread_id); |
637 | } | 637 | } |
638 | 638 | ||
639 | /* Is the current thread the codec thread? */ | ||
640 | bool is_codec_thread(void) | ||
641 | { | ||
642 | return thread_self() == codec_thread_id; | ||
643 | } | ||
644 | |||
645 | #ifdef HAVE_PRIORITY_SCHEDULING | 639 | #ifdef HAVE_PRIORITY_SCHEDULING |
646 | /* Obtain codec thread's current priority */ | 640 | /* Obtain codec thread's current priority */ |
647 | int codec_thread_get_priority(void) | 641 | int codec_thread_get_priority(void) |