~ubuntu-branches/ubuntu/raring/mumble/raring

« back to all changes in this revision

Viewing changes to speex/include/speex/speex_echo.h

  • Committer: Bazaar Package Importer
  • Author(s): Thorvald Natvig
  • Date: 2010-01-09 19:28:50 UTC
  • mfrom: (9.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100109192850-zs4g5vwrrpd71kob
Tags: 1.2.1-2
Fix upgrade failure when upgrading mumble-server directly from 1.1.x
to 1.2.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
struct SpeexEchoState_;
68
68
 
69
69
/** @class SpeexEchoState
70
 
 * This holds the state of the echo canceller. You need one per channel.
 
70
 * This holds the state of the echo canceller. You need one per channel. 
71
71
*/
72
72
 
73
73
/** Internal echo canceller state. Should never be accessed directly. */
89
89
 */
90
90
SpeexEchoState *speex_echo_state_init_mc(int frame_size, int filter_length, int nb_mic, int nb_speakers);
91
91
 
92
 
/** Destroys an echo canceller state
 
92
/** Destroys an echo canceller state 
93
93
 * @param st Echo canceller state
94
94
*/
95
95
void speex_echo_state_destroy(SpeexEchoState *st);
121
121
*/
122
122
void speex_echo_playback(SpeexEchoState *st, const spx_int16_t *play);
123
123
 
124
 
/** Reset the echo canceller to its original state
 
124
/** Reset the echo canceller to its original state 
125
125
 * @param st Echo canceller state
126
126
 */
127
127
void speex_echo_state_reset(SpeexEchoState *st);
143
143
 
144
144
 
145
145
/** Create a state for the channel decorrelation algorithm
146
 
    This is useful for multi-channel echo cancellation only
 
146
    This is useful for multi-channel echo cancellation only 
147
147
 * @param rate Sampling rate
148
148
 * @param channels Number of channels (it's a bit pointless if you don't have at least 2)
149
149
 * @param frame_size Size of the frame to process at ones (counting samples *per* channel)
159
159
*/
160
160
void speex_decorrelate(SpeexDecorrState *st, const spx_int16_t *in, spx_int16_t *out, int strength);
161
161
 
162
 
/** Destroy a Decorrelation state
 
162
/** Destroy a Decorrelation state 
163
163
 * @param st State to destroy
164
164
*/
165
165
void speex_decorrelate_destroy(SpeexDecorrState *st);