diff options
Diffstat (limited to '')
-rw-r--r-- | src/player_thread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/player_thread.c b/src/player_thread.c index e1f31b38c..5df189f78 100644 --- a/src/player_thread.c +++ b/src/player_thread.c @@ -329,7 +329,7 @@ static void do_play(void) if (player.paused) closeAudioDevice(); - pc.totalTime = dc.totalTime; + pc.totalTime = dc.total_time; pc.audio_format = dc.in_audio_format; play_audio_format = dc.out_audio_format; sizeToTime = audioFormatSizeToTime(&dc.out_audio_format); @@ -367,7 +367,7 @@ static void do_play(void) calculate how many chunks will be required for it */ crossFadeChunks = - cross_fade_calc(pc.crossFade, dc.totalTime, + cross_fade_calc(pc.crossFade, dc.total_time, &dc.out_audio_format, music_pipe_size() - pc.buffered_before_play); |