Changeset 7fb39a20fb453c06634407612af7f64bd28acc00
- Timestamp:
- 22/12/02 18:08:42
(6 years ago)
- Author:
- Sam Hocevar <sam@videolan.org>
- git-committer:
- Sam Hocevar <sam@videolan.org> 1040576922 +0000
- git-parent:
[a7a66d7a5de8f36f2561445b4a99956202ac9913]
- git-author:
- Sam Hocevar <sam@videolan.org> 1040576922 +0000
- Message:
- ./src/audio_output/input.c: fixed a side-effect problem in buffer dates
recalculation (spotted by KKI).
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r84ae579 |
r7fb39a2 |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 2002 VideoLAN |
|---|
| 5 | | * $Id: input.c,v 1.27 2002/12/09 00:52:42 babal Exp $ |
|---|
| | 5 | * $Id: input.c,v 1.28 2002/12/22 17:08:42 sam Exp $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Christophe Massiot <massiot@via.ecp.fr> |
|---|
| … | … | |
| 327 | 327 | p_input->pp_resamplers[0]->input.i_rate = p_input->input.i_rate; |
|---|
| 328 | 328 | } |
|---|
| 329 | | |
|---|
| 330 | 329 | } |
|---|
| 331 | 330 | |
|---|
| 332 | 331 | /* Adding the start date will be managed by aout_FifoPush(). */ |
|---|
| 333 | | p_buffer->start_date = start_date; |
|---|
| 334 | 332 | p_buffer->end_date = start_date + |
|---|
| 335 | 333 | (p_buffer->end_date - p_buffer->start_date); |
|---|
| | 334 | p_buffer->start_date = start_date; |
|---|
| 336 | 335 | |
|---|
| 337 | 336 | /* Actually run the resampler now. */ |
|---|