diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/pdbox/PDa/src/s_audio_rockbox.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/plugins/pdbox/PDa/src/s_audio_rockbox.c b/apps/plugins/pdbox/PDa/src/s_audio_rockbox.c index e12e00484c..76a50fa075 100644 --- a/apps/plugins/pdbox/PDa/src/s_audio_rockbox.c +++ b/apps/plugins/pdbox/PDa/src/s_audio_rockbox.c | |||
@@ -25,6 +25,10 @@ | |||
25 | #include "m_pd.h" | 25 | #include "m_pd.h" |
26 | #include "s_stuff.h" | 26 | #include "s_stuff.h" |
27 | 27 | ||
28 | /* Declare functions that go to IRAM. */ | ||
29 | void pdbox_get_more(unsigned char** start, size_t* size) ICODE_ATTR; | ||
30 | int rockbox_send_dacs(void) ICODE_ATTR; | ||
31 | |||
28 | /* Extern variables. */ | 32 | /* Extern variables. */ |
29 | extern float sys_dacsr; | 33 | extern float sys_dacsr; |
30 | extern t_sample *sys_soundout; | 34 | extern t_sample *sys_soundout; |
@@ -125,7 +129,7 @@ int rockbox_send_dacs(void) | |||
125 | t_sample* right = sys_soundout + DEFDACBLKSIZE*1; | 129 | t_sample* right = sys_soundout + DEFDACBLKSIZE*1; |
126 | unsigned int samples_out = 0; | 130 | unsigned int samples_out = 0; |
127 | int16_t* out; | 131 | int16_t* out; |
128 | int sample; | 132 | register int sample; |
129 | 133 | ||
130 | /* Cancel if whole buffer filled. */ | 134 | /* Cancel if whole buffer filled. */ |
131 | if(outbuf_fill >= OUTBUFSIZE-1) | 135 | if(outbuf_fill >= OUTBUFSIZE-1) |