Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Re: r27010 ; use API to read pause status instead of accessing direct…

…ly the protected variable. Write zero buffer in 8ms to reduce startup latency.

git-svn-id: http://svn.mythtv.org/svn/trunk@27069 7dbf422c-18fa-0310-86e9-fd20926502f2
  • Loading branch information...
commit e5cbe2de39ff2d3eb03bb1da84f5fc13e22997ee 1 parent 5236d90
@jyavenard jyavenard authored
View
2  mythtv/libs/libmyth/audiooutputbase.cpp
@@ -1259,7 +1259,7 @@ void AudioOutputBase::OutputAudioLoop(void)
// only send zeros if card doesn't already have at least one
// fragment of zeros -dag
- WriteAudio(zeros, fragment_size);
+ WriteAudio(zeros, zero_fragment_size);
continue;
}
else
View
2  mythtv/libs/libmyth/audiooutputpulse.cpp
@@ -227,7 +227,7 @@ void AudioOutputPulseAudio::WriteAudio(uchar *aubuf, int size)
pa_stream_state_t sstate = pa_stream_get_state(pstream);
// Do not write anything to pulse server if we are in pause mode
- if (actually_paused)
+ if (IsPaused())
return;
VBAUDIOTS(fn_log_tag + QString("writing %1 bytes").arg(size));
Please sign in to comment.
Something went wrong with that request. Please try again.