patch-2.2.4 linux/drivers/sbus/audio/dummy.h

Next file: linux/drivers/sbus/char/bpp.c
Previous file: linux/drivers/sbus/audio/dmy.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.3/linux/drivers/sbus/audio/dummy.h linux/drivers/sbus/audio/dummy.h
@@ -0,0 +1,41 @@
+/*
+ * drivers/sbus/audio/dummy.h
+ *
+ * Copyright (C) 1998 Derrick J. Brashear (shadow@dementia.org)
+ */
+
+#ifndef _DUMMY_H_
+#define _DUMMY_H_
+
+#include <linux/types.h>
+#include <linux/tqueue.h>
+
+#define DUMMY_OUTFILE "/usr/tmp/dummy.au"
+
+/* Our structure for each chip */
+
+struct dummy_chip {
+  struct audio_info perchip_info;
+  unsigned int playlen;
+  struct tq_struct tqueue;
+};
+
+#define DUMMY_MIN_ATEN     (0)
+#define DUMMY_MAX_ATEN     (31)
+#define DUMMY_MAX_DEV_ATEN (63)
+
+#define DUMMY_MON_MIN_ATEN         (0)
+#define DUMMY_MON_MAX_ATEN         (63)
+
+#define DUMMY_DEFAULT_PLAYGAIN     (132)
+#define DUMMY_DEFAULT_RECGAIN      (126)
+
+#define DUMMY_MIN_GAIN     (0)
+#define DUMMY_MAX_GAIN     (15)
+
+#define DUMMY_PRECISION    (8)             /* # of bits/sample */
+#define DUMMY_CHANNELS     (1)             /* channels/sample */
+
+#define DUMMY_RATE   (8000)                /* default sample rate */
+
+#endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)