source: roaraudio/libroaresd/esdsample.c @ 632:468ce09813a2

Last change on this file since 632:468ce09813a2 was 0:2a41d2f42394, checked in by phi, 16 years ago

Initial revision

File size: 949 bytes
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 */
8int esd_sample_cache( int esd, esd_format_t format, const int rate,
9                      const int length, const char *name ) {
10 return -1;
11}
12int esd_confirm_sample_cache( int esd ) {
13 return -1;
14}
15
16/* get the sample id for an already-cached sample */
17int esd_sample_getid( int esd, const char *name) {
18 return -1;
19}
20
21/* uncache a sample in the server */
22int esd_sample_free( int esd, int sample ) {
23 return -1;
24}
25
26/* play a cached sample once */
27int esd_sample_play( int esd, int sample ) {
28 return -1;
29}
30/* make a cached sample loop */
31int esd_sample_loop( int esd, int sample ) {
32 return -1;
33}
34
35/* stop the looping sample at end */
36int esd_sample_stop( int esd, int sample ) {
37 return -1;
38}
39/* stop a playing sample immed. */
40int 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.