Browse files

Prevent 100% CPU usage when in pause mode. Note that the following op…

…tions help preventing the blast of static when using pulse:

- Use ALSA, including the pulse's ALSA plug (usually ALSA:pulse)
- Change pulse server sampling rate from the default 44.1kHz to 48kHz
- In Advanced audio settings, disable myth's resampler.

In all, those are issues with pulse, not myth
  • Loading branch information...
jyavenard committed May 9, 2011
1 parent 475f612 commit 5461754cd439d9ed188b9a028678cc1b5dc72b7b
Showing with 0 additions and 4 deletions.
  1. +0 −4 mythtv/libs/libmyth/audiooutputpulse.cpp
@@ -233,10 +233,6 @@ void AudioOutputPulseAudio::WriteAudio(uchar *aubuf, int size)
QString fn_log_tag = "WriteAudio, ";
pa_stream_state_t sstate = pa_stream_get_state(pstream);
- // Do not write anything to pulse server if we are in pause mode
- if (IsPaused())
- return;
VBAUDIOTS(fn_log_tag + QString("writing %1 bytes").arg(size));
/* NB This "if" check can be replaced with PA_STREAM_IS_GOOD() in

0 comments on commit 5461754

Please sign in to comment.