INTERACT FORUM

Please login or register.

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

Author Topic: WASAPI sync problem  (Read 1648 times)

HiFiTubes

  • Citizen of the Universe
  • *****
  • Posts: 1123
WASAPI sync problem
« on: July 13, 2010, 02:26:59 pm »

I have been observing a problem on two different PCs with two different external DACs when using WASAPI.

On song changes (song ends and crossfades), using a fixed sample rate in MC, I get skipping, playback loses sync. Other times, MC may buffer for a moment on a manual track change, and throws everything out the window and seems to cause the problem.

 Just happening right now with Library Server converting to MP3, and eventually it just keeps skipping. I skip to the next track, same thing, it never recovers from the skipping until I restart playback.

This has been going on my work PC for months, and I have been noticing it at home on my Lynx system with WASAPI.

JRMark (version 15.0.73): 1533

Media Center 15.0.73 Registered -- C:\Program Files\J River\Media Center 15\

Microsoft Windows Vista 6.0 Service Pack 2 (Build 6002)
Intel Pentium III 2992 MHz MMX / Memory: Total - 3404 MB, Free - 1191 MB

Internet Explorer: 7.0.6002.18005 / ComCtl32.dll: 5.82.6001 / Shlwapi.dll: 6.0.6002 / Shell32.dll: 6.0.6002 / wnaspi32.dll: N/A
Ripping /   Drive E:   Mode:ModeSecure  Type:Auto  Speed:Max
  Drive G:   Mode:ModeSecure  Type:Auto  Speed:Max
  Drive J:   Mode:ModeSecure  Type:Auto  Speed:Max
  Digital playback: Yes /  Get cover art: Yes /  Calc replay gain: Yes /  Copy volume: 32767
  Eject after ripping: Yes /  Play sound after ripping: No  

Burning /  Drive E: Optiarc  DVD+-RW AD-7200S   Addr: 0:2:0  Speed:48  MaxSpeed:48  BurnProof:Yes
  Drive J: LITE-ON  DVDRW SHM-165P6S   Addr: 1:0:0  Speed:48  MaxSpeed:48  BurnProof:Yes
  Test mode: No /  Eject after writing: Yes /  Direct decoding: No /  Write CD-Text: Yes
  Use playback settings: Yes /

Portable Device Info
  Removed devices: Multi Flash Reader (I:),Generic STORAGE DEVICE (F:),F:\


Interface Plugins:
  last.fm (Active)
  TiVo Server (Active)
  Playing Now


I have my devices set for Exclusive Mode and they both need 32-bit package feature enabled to work start playback.

Anyone else seeing this?
Logged

HiFiTubes

  • Citizen of the Universe
  • *****
  • Posts: 1123
Re: WASAPI sync problem
« Reply #1 on: July 13, 2010, 02:30:29 pm »

I just enabled some buffer flushing and hardware sync of 1/4 second, and turned pre-buffering up to 10 seconds.

I just tried to seek to the end of an mp3 and MC has locked up.

Took 30 seconds for playback to resume (MC displays no buffering message) and it is completely messed up, out of sync.

My upload bandwidth at home as about 5000kbps, and the fact that this happens on my wired LAN hifi setup with WASAPI has got my attention.
Logged

HiFiTubes

  • Citizen of the Universe
  • *****
  • Posts: 1123
Re: WASAPI sync problem
« Reply #2 on: July 13, 2010, 02:33:42 pm »

Just turned off cross-fade and set to 2 second gapped and problem still occurs; highly repeatable.
Logged

HiFiTubes

  • Citizen of the Universe
  • *****
  • Posts: 1123
Re: WASAPI sync problem
« Reply #3 on: July 13, 2010, 02:37:39 pm »

DirectSound or Wave Output solves the problem.

No loss of sync on manual track changes, and when seeking MC gets stuck buffering for 30 seconds (doesn't show as buffering just locked) then recovers with no problem. Getting little amounts of buffering on every track change and neither Wave Out or DirectSound has a problem.

Switch back to MC and WASAPI doesn't like how MC is handling buffering at all; playback gets corrupted all the time.

I'll try the same experiment at home tonight on my other system.

Logged
Pages: [1]   Go Up