Kodi Community Forum
MKV - Sound asynchron - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59)
+---- Thread: MKV - Sound asynchron (/showthread.php?tid=34867)



MKV - Sound asynchron - SimBla - 2008-07-15

Hi,
I've got a little Problem with the MKV playback. After a few minutes the sound is getting asynchron and I don't knows why. Task Manager shows 50-60% CPU usage. So the cpu can't be the problem...

Does anyone know how to fix the problem?

System:
AMD64 3000+
GeForce FX 5500
1024 MBRam

thanx
SimBla


- zeuss-axis - 2008-07-15

I fixed this by changing the System>>Audio settings from "Digital" to "Analog". The audio quality seems the same, so it's obviously still outputting digitally...methinks the setting is hosed.


- WiSo - 2008-07-15

It should make a difference:
Code:
if (bAudioPassthrough == true)
  {
    wfxex.Format.wFormatTag      = WAVE_FORMAT_DOLBY_AC3_SPDIF;
    wfxex.Format.wBitsPerSample  = 16;
    wfxex.Format.nBlockAlign     = 4;
  }
  else
  {
    wfxex.Format.wFormatTag      = (iChannels > 2) ? WAVE_FORMAT_EXTENSIBLE : WAVE_FORMAT_PCM;
    wfxex.Format.wBitsPerSample  = uiBitsPerSample;
    wfxex.Format.nBlockAlign     = wfxex.Format.nChannels * (wfxex.Format.wBitsPerSample >> 3);
  }
WAVE_FORMAT_DOLBY_AC3_SPDIF sends the encoded AC3 channels to the soundcard whereas
WAVE_FORMAT_PCM will decode it.


- zeuss-axis - 2008-07-15

WiSo Wrote:It should make a difference:

It could be that my receiver is 'faking' the 5.1 output from a stereo signal; I'd have to check on that.

Speaking of which, I'm using HDMI out from my HTPC to my receiver, and I've never bothered playing with all the settings on my sound card to ensure it's set to 'pass through' to the receiver, rather than decoding it via the sound card...

...I wonder if the asynch/buffering issues are related conflicting settings between XBMC/Windows/Receiver? I'm out of my element here, but given the three entities in play...?


- zeuss-axis - 2008-07-16

So I'm not real sure how I had things set before, but I now have XBMC with Digital Out, Windows with Digital Out via SPDIF at 96Khz, and my receiver set to 'auto select'...everything works beautifully.

XBMC for Windows build 13859, Aeon @720p, AMD 4400+, 2Gb, ATI HD3200, IDT 92HD206 SPDIF