Line | |
---|
1 | //esdsample.c: |
---|
2 | |
---|
3 | #include "libroaresd.h" |
---|
4 | |
---|
5 | // TODO: add support for all of thiese funcs |
---|
6 | |
---|
7 | /* cache a sample in the server returns sample id, < 0 = error */ |
---|
8 | int esd_sample_cache( int esd, esd_format_t format, const int rate, |
---|
9 | const int length, const char *name ) { |
---|
10 | return -1; |
---|
11 | } |
---|
12 | int esd_confirm_sample_cache( int esd ) { |
---|
13 | return -1; |
---|
14 | } |
---|
15 | |
---|
16 | /* get the sample id for an already-cached sample */ |
---|
17 | int esd_sample_getid( int esd, const char *name) { |
---|
18 | return -1; |
---|
19 | } |
---|
20 | |
---|
21 | /* uncache a sample in the server */ |
---|
22 | int esd_sample_free( int esd, int sample ) { |
---|
23 | return -1; |
---|
24 | } |
---|
25 | |
---|
26 | /* play a cached sample once */ |
---|
27 | int esd_sample_play( int esd, int sample ) { |
---|
28 | return -1; |
---|
29 | } |
---|
30 | /* make a cached sample loop */ |
---|
31 | int esd_sample_loop( int esd, int sample ) { |
---|
32 | return -1; |
---|
33 | } |
---|
34 | |
---|
35 | /* stop the looping sample at end */ |
---|
36 | int esd_sample_stop( int esd, int sample ) { |
---|
37 | return -1; |
---|
38 | } |
---|
39 | /* stop a playing sample immed. */ |
---|
40 | int esd_sample_kill( int esd, int sample ) { |
---|
41 | return -1; |
---|
42 | } |
---|
43 | |
---|
44 | |
---|
45 | //ll |
---|
Note: See
TracBrowser
for help on using the repository browser.