Skip to content

Commit

Permalink
Move the comment to the correct part of the code after dc4e316.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Harrison committed Jul 27, 2011
1 parent dc4e316 commit a142141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmyth/audio/audiooutputbase.cpp
Expand Up @@ -1279,14 +1279,14 @@ bool AudioOutputBase::AddData(void *in_buffer, int in_len,
// Mythmusic doesn't give us timestamps
if (timecode < 0)
{
// Send original samples to mythmusic visualisation
timecode = (frames_buffered * 1000) / source_samplerate;
frames_buffered += frames;
music = true;
}

if (hasVisual())
{
// Send original samples to any attached visualisations
dispatchVisual((uchar *)in_buffer, len, timecode, source_channels,
output_settings->FormatToBits(format));
}
Expand Down

0 comments on commit a142141

Please sign in to comment.