1 /* $Id: dummy.h,v 1.3 1999/09/21 14:37:41 davem Exp $
2  * drivers/sbus/audio/dummy.h
3  *
4  * Copyright (C) 1998 Derrick J. Brashear (shadow@dementia.org)
5  */
6 
7 #ifndef _DUMMY_H_
8 #define _DUMMY_H_
9 
10 #include <linux/types.h>
11 #include <linux/tqueue.h>
12 
13 #define DUMMY_OUTFILE "/usr/tmp/dummy.au"
14 
15 /* Our structure for each chip */
16 
17 struct dummy_chip {
18 	struct audio_info perchip_info;
19 	unsigned int playlen;
20 	struct tq_struct tqueue;
21 };
22 
23 #define DUMMY_MIN_ATEN     (0)
24 #define DUMMY_MAX_ATEN     (31)
25 #define DUMMY_MAX_DEV_ATEN (63)
26 
27 #define DUMMY_MON_MIN_ATEN         (0)
28 #define DUMMY_MON_MAX_ATEN         (63)
29 
30 #define DUMMY_DEFAULT_PLAYGAIN     (132)
31 #define DUMMY_DEFAULT_RECGAIN      (126)
32 
33 #define DUMMY_MIN_GAIN     (0)
34 #define DUMMY_MAX_GAIN     (15)
35 
36 #define DUMMY_PRECISION    (8)             /* # of bits/sample */
37 #define DUMMY_CHANNELS     (1)             /* channels/sample */
38 
39 #define DUMMY_RATE   (8000)                /* default sample rate */
40 
41 #endif /* _DUMMY_H_ */
42