aboutsummaryrefslogtreecommitdiff
path: root/doc/examples/SoundRecorder/include/soundcard.h
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/SoundRecorder/include/soundcard.h')
-rw-r--r--doc/examples/SoundRecorder/include/soundcard.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/examples/SoundRecorder/include/soundcard.h b/doc/examples/SoundRecorder/include/soundcard.h
new file mode 100644
index 00000000..272cf904
--- /dev/null
+++ b/doc/examples/SoundRecorder/include/soundcard.h
@@ -0,0 +1,31 @@
1/* by Luis Figueiredo (stdio@netc.pt)
2 *
3 * file: soundcard.h
4 *
5 * description: handlers soundcard setup
6 *
7 * date: 17:00,13-00-2002
8 */
9
10#ifndef _SOUNDCARD_H_
11#define _SOUNDCARD_H_
12
13#include <fcntl.h>
14#include <sys/soundcard.h>
15#include <stdio.h>
16#include <sys/ioctl.h>
17
18#include "debug.h"
19
20struct soundcard_setup {
21 int rate;
22 char channels;
23 int fmt;
24};
25
26int soundcard_init(const char *, struct soundcard_setup *);
27
28
29
30
31#endif