aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/mISDN/dsp.h
diff options
context:
space:
mode:
authorAndreas Eversberg <andreas@eversberg.eu>2009-05-22 11:04:49 +0000
committerDavid S. Miller <davem@davemloft.net>2009-05-25 00:51:34 -0700
commitbc138ec4ac58bb83e2d9d5c12328d5452294c1f0 (patch)
tree059a02dfee5e813bdf21131aaa7c15085dd7f768 /drivers/isdn/mISDN/dsp.h
parentb5df5a5c3bf0f809d854ad7156ce26b709b533c0 (diff)
downloadmrst-s0i3-test-bc138ec4ac58bb83e2d9d5c12328d5452294c1f0.tar.gz
mrst-s0i3-test-bc138ec4ac58bb83e2d9d5c12328d5452294c1f0.tar.xz
mrst-s0i3-test-bc138ec4ac58bb83e2d9d5c12328d5452294c1f0.zip
mISDN: Hardware acceleration is now possible in conjunction with audio recording
Audio recording requires software audio processing. Both hardware and software processing is simultaniously possible now. Signed-off-by: Andreas Eversberg <andreas@eversberg.eu> Signed-off-by: Karsten Keil <keil@b1-systems.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/mISDN/dsp.h')
-rw-r--r--drivers/isdn/mISDN/dsp.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/isdn/mISDN/dsp.h b/drivers/isdn/mISDN/dsp.h
index 41c6cfdca8c..564ea3efd5e 100644
--- a/drivers/isdn/mISDN/dsp.h
+++ b/drivers/isdn/mISDN/dsp.h
@@ -151,6 +151,15 @@ struct dsp_tone {
struct timer_list tl;
};
+/***************
+ * echo stuff *
+ ***************/
+
+struct dsp_echo {
+ int software; /* echo is generated by software */
+ int hardware; /* echo is generated by hardware */
+};
+
/*****************
* general stuff *
*****************/
@@ -161,7 +170,7 @@ struct dsp {
struct mISDNchannel *up;
unsigned char name[64];
int b_active;
- int echo; /* echo is enabled */
+ struct dsp_echo echo;
int rx_disabled; /* what the user wants */
int rx_is_off; /* what the card is */
int tx_mix;