mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
pdbox: Optimizations in the audio output code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27288 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d5342fd129
commit
38fe596cd5
1 changed files with 5 additions and 1 deletions
|
@ -25,6 +25,10 @@
|
|||
#include "m_pd.h"
|
||||
#include "s_stuff.h"
|
||||
|
||||
/* Declare functions that go to IRAM. */
|
||||
void pdbox_get_more(unsigned char** start, size_t* size) ICODE_ATTR;
|
||||
int rockbox_send_dacs(void) ICODE_ATTR;
|
||||
|
||||
/* Extern variables. */
|
||||
extern float sys_dacsr;
|
||||
extern t_sample *sys_soundout;
|
||||
|
@ -125,7 +129,7 @@ int rockbox_send_dacs(void)
|
|||
t_sample* right = sys_soundout + DEFDACBLKSIZE*1;
|
||||
unsigned int samples_out = 0;
|
||||
int16_t* out;
|
||||
int sample;
|
||||
register int sample;
|
||||
|
||||
/* Cancel if whole buffer filled. */
|
||||
if(outbuf_fill >= OUTBUFSIZE-1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue