mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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
This commit is contained in:
parent
423d5a7577
commit
96f02a9aa9
3 changed files with 4 additions and 18 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue