diff options
Diffstat (limited to 'apps/playback.c')
-rw-r--r-- | apps/playback.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/playback.c b/apps/playback.c index c26a39eaa1..27610e01fb 100644 --- a/apps/playback.c +++ b/apps/playback.c | |||
@@ -3067,7 +3067,7 @@ static void audio_reset_buffer(void) | |||
3067 | will already be line aligned */ | 3067 | will already be line aligned */ |
3068 | filebuflen &= ~3; | 3068 | filebuflen &= ~3; |
3069 | 3069 | ||
3070 | buffering_init(filebuf, filebuflen); | 3070 | buffering_reset(filebuf, filebuflen); |
3071 | 3071 | ||
3072 | /* Clear any references to the file buffer */ | 3072 | /* Clear any references to the file buffer */ |
3073 | buffer_state = BUFFER_STATE_INITIALIZED; | 3073 | buffer_state = BUFFER_STATE_INITIALIZED; |
@@ -3361,6 +3361,9 @@ void audio_init(void) | |||
3361 | /* Set crossfade setting for next buffer init which should be about... */ | 3361 | /* Set crossfade setting for next buffer init which should be about... */ |
3362 | pcmbuf_crossfade_enable(global_settings.crossfade); | 3362 | pcmbuf_crossfade_enable(global_settings.crossfade); |
3363 | 3363 | ||
3364 | /* initialize the buffering system */ | ||
3365 | |||
3366 | buffering_init(); | ||
3364 | /* ...now! Set up the buffers */ | 3367 | /* ...now! Set up the buffers */ |
3365 | audio_reset_buffer(); | 3368 | audio_reset_buffer(); |
3366 | 3369 | ||