forked from len0rd/rockbox
New scheduler, with priorities for swcodec platforms. Frequent task
switching should be more efficient and tasks are stored in linked lists to eliminate unnecessary task switching to improve performance. Audio should no longer skip on swcodec targets caused by too CPU hungry UI thread or background threads. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10958 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
baf5494341
commit
a85044bf9e
36 changed files with 834 additions and 413 deletions
|
@ -40,7 +40,9 @@ void *buffer_alloc(size_t size)
|
|||
void *retval = audiobuf;
|
||||
|
||||
audiobuf += size;
|
||||
/* 32-bit aligned */;
|
||||
/* 32-bit aligned */
|
||||
audiobuf = (void *)(((unsigned long)audiobuf + 3) & ~3);
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue