Changeset d30d02fe8322ae8deb62ab4ea3bfb483298ad037
- Timestamp:
- 10/08/05 16:12:17
(3 years ago)
- Author:
- Derk-Jan Hartman <hartman@videolan.org>
- git-committer:
- Derk-Jan Hartman <hartman@videolan.org> 1123683137 +0000
- git-parent:
[b013ed311020e138bd3181ab69bcaf1df934efe2]
- git-author:
- Derk-Jan Hartman <hartman@videolan.org> 1123683137 +0000
- Message:
* Don't use the bandlimited resampler for downsampling (skew resampling for instance). The resampler doesn't have a low pass filter? This closes #256
- on a side note, it also seems to fix the stack corruption (resulting in deadlock) issues i was having with audio output that was being resampled by auhal.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rfe087a3 |
rd30d02f |
|
| 125 | 125 | d_factor = (double)p_filter->output.i_rate |
|---|
| 126 | 126 | / p_filter->input.i_rate; |
|---|
| | 127 | |
|---|
| | 128 | if( d_factor < (double)1.0 ) |
|---|
| | 129 | { |
|---|
| | 130 | return VLC_EGENERIC; |
|---|
| | 131 | } |
|---|
| | 132 | |
|---|
| 127 | 133 | i_filter_wing = ((SMALL_FILTER_NMULT + 1)/2.0) |
|---|
| 128 | 134 | * __MAX(1.0, 1.0/d_factor) + 10; |
|---|