diff options
Diffstat (limited to 'apps/plugins/pdbox/PDa/src/s_stuff.h')
-rw-r--r-- | apps/plugins/pdbox/PDa/src/s_stuff.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/apps/plugins/pdbox/PDa/src/s_stuff.h b/apps/plugins/pdbox/PDa/src/s_stuff.h index 2c7ae8b209..566df34773 100644 --- a/apps/plugins/pdbox/PDa/src/s_stuff.h +++ b/apps/plugins/pdbox/PDa/src/s_stuff.h | |||
@@ -130,8 +130,9 @@ void sys_setvirtualalarm( void); | |||
130 | #define API_MMIO 3 | 130 | #define API_MMIO 3 |
131 | #define API_PORTAUDIO 4 | 131 | #define API_PORTAUDIO 4 |
132 | #define API_JACK 5 | 132 | #define API_JACK 5 |
133 | #define API_ROCKBOX 6 | ||
133 | 134 | ||
134 | #ifdef __linux__ | 135 | #if defined(__linux__) && !defined(ROCKBOX) |
135 | #define API_DEFAULT API_OSS | 136 | #define API_DEFAULT API_OSS |
136 | #define API_DEFSTRING "OSS" | 137 | #define API_DEFSTRING "OSS" |
137 | #endif | 138 | #endif |
@@ -143,6 +144,10 @@ void sys_setvirtualalarm( void); | |||
143 | #define API_DEFAULT API_PORTAUDIO | 144 | #define API_DEFAULT API_PORTAUDIO |
144 | #define API_DEFSTRING "portaudio" | 145 | #define API_DEFSTRING "portaudio" |
145 | #endif | 146 | #endif |
147 | #ifdef ROCKBOX | ||
148 | #define API_DEFAULT API_ROCKBOX | ||
149 | #define API_DEFSTRING "Rockbox" | ||
150 | #endif | ||
146 | #define DEFAULTAUDIODEV 0 | 151 | #define DEFAULTAUDIODEV 0 |
147 | 152 | ||
148 | #define MAXAUDIOINDEV 4 | 153 | #define MAXAUDIOINDEV 4 |
@@ -204,6 +209,11 @@ void mmio_getdevs(char *indevlist, int *nindevs, | |||
204 | char *outdevlist, int *noutdevs, int *canmulti, | 209 | char *outdevlist, int *noutdevs, int *canmulti, |
205 | int maxndev, int devdescsize); | 210 | int maxndev, int devdescsize); |
206 | 211 | ||
212 | void rockbox_open_audio(int rate); | ||
213 | void rockbox_close_audio(void); | ||
214 | int rockbox_send_dacs(void); | ||
215 | void rockbox_getdevs(void); | ||
216 | |||
207 | void sys_listmididevs(void); | 217 | void sys_listmididevs(void); |
208 | void sys_set_audio_api(int whichapi); | 218 | void sys_set_audio_api(int whichapi); |
209 | void sys_get_audio_apis(char *buf); | 219 | void sys_get_audio_apis(char *buf); |