diff options
author | Andreas Eversberg <andreas@eversberg.eu> | 2009-05-22 07:04:49 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-25 03:51:34 -0400 |
commit | bc138ec4ac58bb83e2d9d5c12328d5452294c1f0 (patch) | |
tree | 059a02dfee5e813bdf21131aaa7c15085dd7f768 /drivers/isdn/mISDN/dsp.h | |
parent | b5df5a5c3bf0f809d854ad7156ce26b709b533c0 (diff) |
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.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/drivers/isdn/mISDN/dsp.h b/drivers/isdn/mISDN/dsp.h index 41c6cfdca8c8..564ea3efd5e3 100644 --- a/drivers/isdn/mISDN/dsp.h +++ b/drivers/isdn/mISDN/dsp.h | |||
@@ -151,6 +151,15 @@ struct dsp_tone { | |||
151 | struct timer_list tl; | 151 | struct timer_list tl; |
152 | }; | 152 | }; |
153 | 153 | ||
154 | /*************** | ||
155 | * echo stuff * | ||
156 | ***************/ | ||
157 | |||
158 | struct dsp_echo { | ||
159 | int software; /* echo is generated by software */ | ||
160 | int hardware; /* echo is generated by hardware */ | ||
161 | }; | ||
162 | |||
154 | /***************** | 163 | /***************** |
155 | * general stuff * | 164 | * general stuff * |
156 | *****************/ | 165 | *****************/ |
@@ -161,7 +170,7 @@ struct dsp { | |||
161 | struct mISDNchannel *up; | 170 | struct mISDNchannel *up; |
162 | unsigned char name[64]; | 171 | unsigned char name[64]; |
163 | int b_active; | 172 | int b_active; |
164 | int echo; /* echo is enabled */ | 173 | struct dsp_echo echo; |
165 | int rx_disabled; /* what the user wants */ | 174 | int rx_disabled; /* what the user wants */ |
166 | int rx_is_off; /* what the card is */ | 175 | int rx_is_off; /* what the card is */ |
167 | int tx_mix; | 176 | int tx_mix; |