mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-19 21:17:38 -04:00
Accept FS #10244 by Wincent Balin: more pdbox work done for GSoC; also some keyword and line-ending fixes by me
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21626 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
eabeb928dd
commit
0d4560cb03
113 changed files with 10637 additions and 4420 deletions
|
@ -130,8 +130,9 @@ void sys_setvirtualalarm( void);
|
|||
#define API_MMIO 3
|
||||
#define API_PORTAUDIO 4
|
||||
#define API_JACK 5
|
||||
#define API_ROCKBOX 6
|
||||
|
||||
#ifdef __linux__
|
||||
#if defined(__linux__) && !defined(ROCKBOX)
|
||||
#define API_DEFAULT API_OSS
|
||||
#define API_DEFSTRING "OSS"
|
||||
#endif
|
||||
|
@ -143,6 +144,10 @@ void sys_setvirtualalarm( void);
|
|||
#define API_DEFAULT API_PORTAUDIO
|
||||
#define API_DEFSTRING "portaudio"
|
||||
#endif
|
||||
#ifdef ROCKBOX
|
||||
#define API_DEFAULT API_ROCKBOX
|
||||
#define API_DEFSTRING "Rockbox"
|
||||
#endif
|
||||
#define DEFAULTAUDIODEV 0
|
||||
|
||||
#define MAXAUDIOINDEV 4
|
||||
|
@ -204,6 +209,11 @@ void mmio_getdevs(char *indevlist, int *nindevs,
|
|||
char *outdevlist, int *noutdevs, int *canmulti,
|
||||
int maxndev, int devdescsize);
|
||||
|
||||
void rockbox_open_audio(int rate);
|
||||
void rockbox_close_audio(void);
|
||||
int rockbox_send_dacs(void);
|
||||
void rockbox_getdevs(void);
|
||||
|
||||
void sys_listmididevs(void);
|
||||
void sys_set_audio_api(int whichapi);
|
||||
void sys_get_audio_apis(char *buf);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue