api68_init_t Struct Reference
[sc68 main API]
#include <api68.h>
Detailed Description
API initialization.
The api68_init_t must be properly filled before calling the api68_init() function.
|
Data Fields |
unsigned int | sampling_rate |
| sampling rate in hz (non 0 value overrides config default).
|
void *(* | alloc )(unsigned int) |
| dynamic memory allocation handler (malloc).
|
void(* | free )(void *) |
| dynamic memory free handler (free).
|
const char * | user_path |
| user resource path (0 default).
|
const char * | shared_path |
| shared resource path (0 default).
|
const char * | lmusic_path |
| local music database path (0 default)
|
const char * | rmusic_path |
| remote music database path (0 default)
|
debugmsg68_t | debug |
| debug message handler.
|
void * | debug_cookie |
| debug cookie.
|
int | argc |
| number of arguments in command line (modified)
|
char ** | argv |
| command line arguments
|
Field Documentation
|
sampling rate in hz (non 0 value overrides config default).
The real used value is set by api68_init(). |
|
user resource path (0 default).
- See also:
- SC68rsc_set_user().
|
|
shared resource path (0 default).
- See also:
- SC68rsc_set_shared().
|
|
local music database path (0 default)
- See also:
- SC68rsc_set_music().
|
|
remote music database path (0 default)
- See also:
- SC68rsc_set_remote_music().
|
The documentation for this struct was generated from the following file:
|