Changeset 4cc138893fb7bc7e1b9c4f42fb8dd27f9f5baf6b
- Timestamp:
- 04/03/03 23:08:33
(6 years ago)
- Author:
- Gildas Bazin <gbazin@videolan.org>
- git-committer:
- Gildas Bazin <gbazin@videolan.org> 1046815713 +0000
- git-parent:
[8e8c87dd11656eb88c2492017b8c11c3ad347674]
- git-author:
- Gildas Bazin <gbazin@videolan.org> 1046815713 +0000
- Message:
* modules/audio_filter/resampler/bandlimited.c: small bug-fixes.
* NEWS: added a note for the fixed MSVC project files.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r8e8c87d |
r4cc1388 |
|
| 1 | | $Id: NEWS,v 1.26 2003/03/04 21:54:03 hartman Exp $ |
|---|
| | 1 | $Id: NEWS,v 1.27 2003/03/04 22:08:33 gbazin Exp $ |
|---|
| 2 | 2 | |
|---|
| 3 | 3 | Changes between 0.5.1a and 0.5.2: |
|---|
| … | … | |
| 18 | 18 | |
|---|
| 19 | 19 | Win32 port: |
|---|
| 20 | | * multi-channel audio and S/PDIF support for both the DirectX |
|---|
| 21 | | and Waveout plugins. |
|---|
| | 20 | * multi-channel audio and S/PDIF support for both the DirectX and Waveout plugins. |
|---|
| 22 | 21 | * localization support via gettext is now fully working. |
|---|
| 23 | 22 | * rc interface is now fully useable. |
|---|
| | 23 | * fixed the MSVC project files generation. |
|---|
| 24 | 24 | |
|---|
| 25 | 25 | Mac OS X port: |
|---|
| r1206810 |
r4cc1388 |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 2002 VideoLAN |
|---|
| 5 | | * $Id: bandlimited.c,v 1.2 2003/03/04 19:28:39 gbazin Exp $ |
|---|
| | 5 | * $Id: bandlimited.c,v 1.3 2003/03/04 22:08:33 gbazin Exp $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Gildas Bazin <gbazin@netcourrier.com> |
|---|
| … | … | |
| 180 | 180 | memcpy( p_in_buf->p_buffer, p_filter->p_sys->p_buf + |
|---|
| 181 | 181 | i_nb_channels * p_filter->p_sys->i_old_wing, |
|---|
| 182 | | i_nb_channels * p_filter->p_sys->i_old_wing * |
|---|
| | 182 | p_filter->p_sys->i_old_wing * |
|---|
| 183 | 183 | p_filter->input.i_bytes_per_frame ); |
|---|
| 184 | 184 | |
|---|
| 185 | 185 | p_out_buf->i_nb_samples = p_in_buf->i_nb_samples + |
|---|
| 186 | 186 | p_filter->p_sys->i_old_wing; |
|---|
| 187 | | |
|---|
| 188 | | aout_DateSet( &p_filter->p_sys->end_date, |
|---|
| 189 | | p_in_buf->start_date ); |
|---|
| 190 | 187 | |
|---|
| 191 | 188 | p_out_buf->end_date = |
|---|
| … | … | |
| 194 | 191 | |
|---|
| 195 | 192 | p_out_buf->i_nb_bytes = p_out_buf->i_nb_samples * |
|---|
| 196 | | i_nb_channels * sizeof(int32_t); |
|---|
| | 193 | p_filter->input.i_bytes_per_frame; |
|---|
| 197 | 194 | } |
|---|
| 198 | 195 | } |
|---|
| … | … | |
| 208 | 205 | p_filter->p_sys->i_remainder = 0; |
|---|
| 209 | 206 | aout_DateInit( &p_filter->p_sys->end_date, p_filter->output.i_rate ); |
|---|
| 210 | | |
|---|
| | 207 | aout_DateSet( &p_filter->p_sys->end_date, p_in_buf->start_date ); |
|---|
| 211 | 208 | p_filter->p_sys->i_old_rate = p_filter->input.i_rate; |
|---|
| 212 | 209 | p_filter->p_sys->d_old_factor = 1; |
|---|
| … | … | |
| 420 | 417 | p_out_buf->i_nb_samples = i_out; |
|---|
| 421 | 418 | p_out_buf->start_date = p_in_buf->start_date; |
|---|
| 422 | | |
|---|
| 423 | | if( p_in_buf->start_date != |
|---|
| 424 | | aout_DateGet( &p_filter->p_sys->end_date ) ) |
|---|
| 425 | | { |
|---|
| 426 | | aout_DateSet( &p_filter->p_sys->end_date, p_in_buf->start_date ); |
|---|
| 427 | | } |
|---|
| 428 | 419 | |
|---|
| 429 | 420 | p_out_buf->end_date = aout_DateIncrement( &p_filter->p_sys->end_date, |
|---|