diff --git a/mythtv/libs/libmyth/audio/audiooutputbase.cpp b/mythtv/libs/libmyth/audio/audiooutputbase.cpp
index c2d47f2..0f21cb1 100644
a
|
b
|
bool AudioOutputBase::AddData(void *in_buffer, int in_len, |
1485 | 1485 | /* we want the timecode of the last sample added but we are given the |
1486 | 1486 | timecode of the first - add the time in ms that the frames added |
1487 | 1487 | represent */ |
| 1488 | frames_final += frames; |
1488 | 1489 | |
1489 | 1490 | // Copy samples into audiobuffer, with upmix if necessary |
1490 | 1491 | if ((len = CopyWithUpmix((char *)buffer, frames, org_waud)) <= 0) |
… |
… |
bool AudioOutputBase::AddData(void *in_buffer, int in_len, |
1493 | 1494 | } |
1494 | 1495 | |
1495 | 1496 | frames = len / bpf; |
1496 | | frames_final += frames; |
1497 | 1497 | |
1498 | 1498 | bdiff = kAudioRingBufferSize - waud; |
1499 | 1499 | if ((len % bpf) != 0 && bdiff < len) |