INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Short pauses in playback of audio files [Solved]  (Read 799 times)

cFortC

  • Recent member
  • *
  • Posts: 19
Short pauses in playback of audio files [Solved]
« on: April 15, 2021, 02:20:12 pm »

With current update of MC 27 I am hearing occasional short pauses (less than 1/4 second) in playback of audio files. I tried increasing the buffer time and finally went to staging the entire file into memory for playback. Still experiencing the occasional pauses, very roughly from two to six per hour.

I have now heard this on two PCs - the larger one (where I'm listening now) has a 3.6GHz Xeon E5-1620 processor (4 core, 8 threads) and 32GB main memory. The concurrent load is very light for this machine: just MS Office and Firefox browser. The pauses happen at random and are not correlated with other activity (e.g. launching an app etc.).

Whenever a pause happened, I moved the play pointer back a minute or so to replay the passage - the pause is not there the second time, indicating a playback issue of a valid file.

It is getting rather irritating - and seems to be a new behavior of MC 27 in that past week or few weeks. Any ideas? I'm willing to take troubleshooting steps and send in the results.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72367
  • Where did I put my teeth?
Re: Short pauses in playback of audio files
« Reply #1 on: April 15, 2021, 05:14:59 pm »

Are the files on a local drive?  Or USB or NAS?

Did you configure Windows Defender?
Logged

David Sydney

  • Galactic Citizen
  • ****
  • Posts: 377
Re: Short pauses in playback of audio files
« Reply #2 on: April 16, 2021, 07:20:07 am »

This has also happened to me before when my Media drive is local but a RAID 5 drive that has degraded and is trying to rebuild itself... Initially without me having Intel RST loaded so I could see what it was doing. Took me many other trial and error paths before I discovered it.

Sometimes windows/defender throws in something that has caused it for me back in Jan. make sure windows update is current. Hope this helps.

David
Logged
Dave
------
Linux Manjaro 24 / Windows 10 Pro | i7 14700K Gigabyte Z790 UD AX | JRMark 10253 | Realtek Integrated HDAudio SPDIF | PC Sound = 1/ Yamaha TSS-15 5.1 Speaker System, 2/ SMSL SU-1 DAC + TA-66 Tube Headphone Amp + Klipsch ProMedia Heritage 2.1 Speakers | HiFi Sound = 1/ Network DLNA to WiiM Ultra Streamer + Advaned Paris A10 Amp in Music Room, 2/ DLNA to Yamaha RX-V777 AV Receiver in Living Room & Outside Deck, 3/ DLNA to Paired Yamaha WiFi WX-010 MusicCast Speakers to Outside Areas

cFortC

  • Recent member
  • *
  • Posts: 19
Re: Short pauses in playback of audio files
« Reply #3 on: April 16, 2021, 01:24:03 pm »

Thanks for these comments.

The files are on a local NAS (non-mirrored SSD storage devices). All of the NAS backup activities are scheduled for middle-of-the-night when the PCs are idle. Anyhow, since I'm now using the "Load full file (not decoded) into memory" option I was hoping NAS issues wouldn't be involved.

I've never observed a single interaction between any Windows firewall and Media Center. I'm currently running Windows 10 20H2 with all current security updates. For feature updates I stay on the conservative path to allow others to do Beta testing for Microsoft.

I will try "Load decoded file into memory" option for awhile and see if that helps.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72367
  • Where did I put my teeth?
Logged

cFortC

  • Recent member
  • *
  • Posts: 19
Re: Short pauses in playback of audio files
« Reply #5 on: April 16, 2021, 02:12:52 pm »

Well, that didn't take too long to fail.

So I have re-installed the final version of MC 26 (it was the easier to locate this download than an earlier release of MC 27).

I will work with this MC 26 for a while and post back whether the "short pauses" continue to occur. I have reverted to "No memory playback" since that is the default and where the issue started showing up for me.
Logged

cFortC

  • Recent member
  • *
  • Posts: 19
Re: Short pauses in playback of audio files
« Reply #6 on: April 16, 2021, 03:48:33 pm »

Thanks for the link to the Windows Defender adjustments. I will defer on Windows Defender for the moment since I am hopeful that I am on the trail of the issue.

Suspicions moved to the USB output side of things so I first ran something called DPC Latency Checker which flagged a problem with the built-in Intel network adapter (it had DPC latency in the 4ms range). I switched the machine's network connection over to a Broadcom PCIe network adapter already installed - that one's DPC latency always stays under 1ms. This seemed to stifle the drop-outs for a while.

Then a drop-out finally happened. I've been running LatencyMon in the background and it reports encountering "Highest measured interrupt to process latency" of 3376 microseconds. This is enough to trigger LatencyMon's warning that my machine will likely experience buffer underruns.

The problem is, it didn't identify the driver or ISR responsible for this latency measurement. Any tips on useful follow-up troubleshooting?
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re: Short pauses in playback of audio files
« Reply #7 on: April 16, 2021, 04:06:41 pm »

You could try increasing the buffering in Options > Audio.
Logged
Matt Ashland, JRiver Media Center

cFortC

  • Recent member
  • *
  • Posts: 19
Re: Short pauses in playback of audio files [Solved]
« Reply #8 on: April 20, 2021, 09:57:19 am »

I did increase the ASIO device buffering (Playback Options => Device Settings) from the default 50ms to 500ms. I've tried this on a couple PCs and with a couple USB DACs and haven't heard a stutter since. Perhaps there still is an audio stutter rate like once a month, but I can live with that given the design limitations of Windows OS.
Logged
Pages: [1]   Go Up