| CODENOTIFIER | HelpYou are not signed inSign in |
Project: Speex
Revision: 14926
Author: jm
Date: 19 May 2008 08:30:06
Changes:Diff:| ... | ...@@ -5040,10 +5040,16 @@ | |
| 5040 | 5040 | |
| 5041 | 5041 | \begin_layout Standard |
| 5042 | 5042 | The resampler allows changing the quality and input/output sampling frequencies |
| 5043 | on the fly without glitches or anything. | |
| 5043 | on the fly without glitches. | |
| 5044 | 5044 | This can be done with calls such as speex_resampler_set_quality() and speex_res |
| 5045 | 5045 | ampler_set_rate(). |
| 5046 | When resampling a file, it is often desirable to have the output file perfectly | |
| 5046 | The only side effect is that a new filter will have to be recomputed, consuming | |
| 5047 | many CPU cycles. | |
| 5048 | ||
| 5049 | \end_layout | |
| 5050 | ||
| 5051 | \begin_layout Standard | |
| 5052 | When resampling a file, it is often desirable to have the output file perfectly | |
| 5047 | 5053 | synchronised with the input. |
| 5048 | 5054 | To do that, you need to call speex_resampler_skip_zeros() |
| 5049 | 5055 | \series bold |
| ... | ...@@ -5052,7 +5058,7 @@ | |
| 5052 | 5058 | you start processing any samples. |
| 5053 | 5059 | For real-time applications (e.g. |
| 5054 | 5060 | VoIP), it is not recommended to do that as the first process frame will |
| 5055 | be shorted to compensate the the delay (the skipped zeros). | |
| 5061 | be shorter to compensate for the delay (the skipped zeros). | |
| 5056 | 5062 | To destroy a resampler state, just call speex_resampler_destroy(). |
| 5057 | 5063 | \end_layout |
| 5058 | 5064 |