1 /* $Id: dummy.h,v 1.1.1.1 2005/04/11 02:50:34 jack Exp $
2 * drivers/sbus/audio/dummy.h
4 * Copyright (C) 1998 Derrick J. Brashear (shadow@dementia.org)
10 #include <linux/types.h>
11 #include <linux/tqueue.h>
13 #define DUMMY_OUTFILE "/usr/tmp/dummy.au"
15 /* Our structure for each chip */
18 struct audio_info perchip_info;
20 struct tq_struct tqueue;
23 #define DUMMY_MIN_ATEN (0)
24 #define DUMMY_MAX_ATEN (31)
25 #define DUMMY_MAX_DEV_ATEN (63)
27 #define DUMMY_MON_MIN_ATEN (0)
28 #define DUMMY_MON_MAX_ATEN (63)
30 #define DUMMY_DEFAULT_PLAYGAIN (132)
31 #define DUMMY_DEFAULT_RECGAIN (126)
33 #define DUMMY_MIN_GAIN (0)
34 #define DUMMY_MAX_GAIN (15)
36 #define DUMMY_PRECISION (8) /* # of bits/sample */
37 #define DUMMY_CHANNELS (1) /* channels/sample */
39 #define DUMMY_RATE (8000) /* default sample rate */
41 #endif /* _DUMMY_H_ */