diff options
Diffstat (limited to 'doc/examples/SoundRecorder/include/soundbuffers.h')
-rw-r--r-- | doc/examples/SoundRecorder/include/soundbuffers.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/doc/examples/SoundRecorder/include/soundbuffers.h b/doc/examples/SoundRecorder/include/soundbuffers.h deleted file mode 100644 index 6624b21b..00000000 --- a/doc/examples/SoundRecorder/include/soundbuffers.h +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | /* by Luis Figueiredo (stdio@netc.pt) | ||
2 | * | ||
3 | * file: sound_buffers.h | ||
4 | * | ||
5 | * description: Holds sound data structures and functions | ||
6 | * | ||
7 | * date: 13:14,29-14-2002 | ||
8 | */ | ||
9 | |||
10 | #ifndef _SOUND_BUFFERS_H_ | ||
11 | #define _SOUND_BUFFERS_H_ | ||
12 | |||
13 | #include <stdio.h> | ||
14 | #include <fcntl.h> | ||
15 | #include <stdlib.h> | ||
16 | #include <string.h> | ||
17 | |||
18 | struct sound_buf { | ||
19 | char *id; | ||
20 | unsigned char *data; | ||
21 | unsigned int data_i; | ||
22 | unsigned int play_i; | ||
23 | unsigned int startloop,endloop; | ||
24 | unsigned char volume; | ||
25 | unsigned char channels; | ||
26 | int mode; | ||
27 | struct sound_buf *next; | ||
28 | }; | ||
29 | |||
30 | |||
31 | struct sound_buf *sbuf_init(); | ||
32 | struct sound_buf *sbuf_add(struct sound_buf *list,char *id); | ||
33 | struct sound_buf *sbuf_select(struct sound_buf *list,char *id); | ||
34 | int sbuf_delete(struct sound_buf *list,char *id); | ||
35 | |||
36 | |||
37 | |||
38 | |||
39 | #endif | ||