<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 21, 2017 at 2:15 PM, Austin Green <span dir="ltr"><<a href="mailto:austin.green@orcon.net.nz" target="_blank">austin.green@orcon.net.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, 21 Jun 2017 10:09:42 +1200<br>
<div><div class="h5">Nick Rout <<a href="mailto:nick.rout@gmail.com">nick.rout@gmail.com</a>> wrote:<br>
<br>
> On Tue, Jun 20, 2017 at 10:12 PM, Austin Green <<a href="mailto:austin.green@orcon.net.nz">austin.green@orcon.net.nz</a>><br>
> wrote:<br>
><br>
> > On Tue, 20 Jun 2017 17:47:16 +1200<br>
> > Nick Rout <<a href="mailto:nick.rout@gmail.com">nick.rout@gmail.com</a>> wrote:<br>
> ><br>
> > > On Tue, Jun 20, 2017 at 5:07 PM, Austin Green <<a href="mailto:austin.green@orcon.net.nz">austin.green@orcon.net.nz</a><br>
> > ><br>
> > > wrote:<br>
> > ><br>
> > > > On Tue, 13 Jun 2017 17:18:25 +1200<br>
> > > > "Criggie" <<a href="mailto:criggie@criggie.org.nz">criggie@criggie.org.nz</a>> wrote:<br>
> > > > > Austin Green wrote:<br>
> > > > > > When I hit Play on a selected recording, there is a long delay,<br>
> > > > > > usually 10 to 20 seconds, before it actually starts to play.<br>
> > > > ><br>
> > > > > I'd guess its waiting for something like audio.<br>
> > > > > --<br>
> > > > > Criggie<br>
> > > ><br>
> > > > I think you may be on to it there, Criggie. See frontend log extract:<br>
> > > ><br>
> > > > 16:55:55 : I CoreContext tv_play.cpp:2201 (HandleStateChange) TV:<br>
> > > > Attempting to change from None to WatchingPreRecorded<br>
> > > > 16:55:55 : E CoreContext audio/audiooutputalsa.cpp:172 (GetPCMInfo)<br>
> > ALSA:<br>
> > > > snd_pcm_info_get_card: Operation not permitted<br>
> > > > 16:55:55 : N CoreContext audioplayer.cpp:164 (ReinitAudio) AudioPlayer:<br>
> > > > Enabling Audio<br>
> > > > 16:55:55 : I CoreContext avformatdecoder.cpp:1898 (ScanStreams) AFD:<br>
> > codec<br>
> > > > MP2 has 2 channels<br>
> > > > 16:55:55 : I CoreContext avformatdecoder.cpp:2378 (OpenAVCodec) AFD:<br>
> > > > Opened codec 0x38723a0, id(MP2) type(Audio)<br>
> > > > 16:55:55 : I CoreContext avformatdecoder.cpp:2378 (OpenAVCodec) AFD:<br>
> > > > Opened codec 0xc935900, id(MPEG2VIDEO) type(Video)<br>
> > > > 16:55:55 : I CoreContext audio/audiooutputbase.cpp:792 (Reconfigure)<br>
> > > > AOBase: Opening audio device 'default' ch 2(2) sr 48000 sf 32 bit<br>
> > floating<br>
> > > > point reenc 0<br>
> > > > 16:56:20 : I CoreContext signalhandling.cpp:194 (SetHandlerPrivate)<br>
> > Setup<br>
> > > > Interrupt handler<br>
> > > ><br>
> > > > There is a 25-second gap in the log after the attempt to open the audio<br>
> > > > device; the process just seems to be hanging there.<br>
> > > ><br>
> > > > Any ideas on cause, or suggestions to fix?<br>
> > > ><br>
> > > > Cheers,<br>
> > > > Austin.<br>
> > > ><br>
> > ><br>
> > > Do you have pulseaudio installed?<br>
> ><br>
> > Yes; how would that cause a problem?<br>
> ><br>
><br>
> It may interfere with alsa, which is where you seem to be trying to ouput<br>
> your audio.<br>
><br>
> It is a long time since I used mythfrontend, is there an option to output<br>
> audio to pulseaudio?<br>
<br>
</div></div>Yes, the output device was set to 'PulseAudio:default'.<br>
I changed it to 'alsa:pulse' and set up the alsa default device to be 'pulse',<br>
and now the delay seems to have gone away.<br>
<br>
Many thanks to all who suggested where to look.<br></blockquote><div><br></div><div>Cheers :)</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Cheers,<br>
Austin.<br>
<div class="HOEnZb"><div class="h5"><br>
______________________________<wbr>_________________<br>
mythtvnz mailing list<br>
<a href="mailto:mythtvnz@lists.linuxnut.co.nz">mythtvnz@lists.linuxnut.co.nz</a><br>
<a href="http://lists.ourshack.com/mailman/listinfo/mythtvnz" rel="noreferrer" target="_blank">http://lists.ourshack.com/<wbr>mailman/listinfo/mythtvnz</a><br>
Archives <a href="http://www.gossamer-threads.com/lists/mythtv/mythtvnz/" rel="noreferrer" target="_blank">http://www.gossamer-threads.<wbr>com/lists/mythtv/mythtvnz/</a><br>
</div></div></blockquote></div><br></div></div>