Skip to content

Commit

Permalink
Fix git merge. git ain't that smart really :(
Browse files Browse the repository at this point in the history
  • Loading branch information
jyavenard committed Dec 17, 2010
1 parent 78de8f1 commit 4adb4c1
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions mythtv/libs/libmythtv/audioplayer.cpp
Expand Up @@ -347,17 +347,11 @@ void AudioPlayer::AddAudioData(char *buffer, int len, int64_t timecode)
{
if (!m_audioOutput)
return;
<<<<<<< HEAD

if (m_parent->PrepareAudioSample(timecode) && !no_audio_out)
m_audioOutput->Drain();
int samplesize = m_audioOutput->GetBytesPerFrame();

=======
if (m_parent->PrepareAudioSample(timecode) && !no_audio_out)
m_audioOutput->Drain();
int samplesize = m_channels * AudioOutputSettings::SampleSize(m_format);
>>>>>>> c81a3d77184738671bfd03f87f27e619189843c3
if (samplesize <= 0)
return;
int frames = len / samplesize;
Expand Down

0 comments on commit 4adb4c1

Please sign in to comment.