Kodi Community Forum
Audio sped up (chipmunk) with AC3 passthrough frodo 12.2 - 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: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Audio sped up (chipmunk) with AC3 passthrough frodo 12.2 (/showthread.php?tid=168859)



Audio sped up (chipmunk) with AC3 passthrough frodo 12.2 - touser - 2013-07-11

Hello everyone,

When passing through 44100Hz AC3 audio via spdif to my pioneer sc-65 receiver i end up with the "chipmunk" effect (audio sped up everyone sound slike a chipmunk). Running Arch linux, ALSA, no pulseaudio, frodo 12.2. This only seems to happen when 44100Hz audio is being played. System is an intel i5 with hd4000 and usb sound blaster x-fi 5.1 sound card for spdif out. I've tried adding to advancedsettings.xml without any success:


Code:
<allowtranscode44100>0</allowtranscode44100>
and
Code:
<resample>48000</resample>

My .asoundrc currently looks like:

Code:
pcm.!default {
  type hw
  card 1
  device 0
}
Disabling AC3 under sound setting solves it, but then obviously that isn't being passed through any more. With the new Audio Engine I'm not sure how to apply the fix proposed by NightStormWolf in this thread anymore.

xbmc.log: http://pastebin.com/pP5VkQQA

Thanks for any help!


RE: Audio sped up (chipmunk) with AC3 passthrough frodo 12.2 - fritsch - 2013-07-11

Can you paste a log where we can see how the sink is openened? I need the AES0=xyzAES1=... and so on.


RE: Audio sped up (chipmunk) with AC3 passthrough frodo 12.2 - touser - 2013-07-12

(2013-07-11, 22:17)fritsch Wrote: Can you paste a log where we can see how the sink is openened? I need the AES0=xyzAES1=... and so on.

Thanks for the reply, would that be part of xbmc.log? I didn't have debugging enabled in the log i posted, i'll grab a new one real quick and post it.


I believe this log contains what you're asking for, thanks a lot!

log: http://pastebin.com/02a0dJkh


RE: Audio sped up (chipmunk) with AC3 passthrough frodo 12.2 - fritsch - 2013-07-12

Quote:iec958:CARD=S51,DEV=0,AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x02"

That we have. Which looks okayish. Can you post a mediainfo of the actual AC3 file?


RE: Audio sped up (chipmunk) with AC3 passthrough frodo 12.2 - fritsch - 2013-07-12

If you read further starting with line 640 it seems that both are set to 48 khz and output.

Can you check with the following http://www.spinics.net/linux/fedora/alsa-user/msg09440.html ML


RE: Audio sped up (chipmunk) with AC3 passthrough frodo 12.2 - touser - 2013-07-12

(2013-07-12, 11:55)fritsch Wrote: If you read further starting with line 640 it seems that both are set to 48 khz and output.

Can you check with the following http://www.spinics.net/linux/fedora/alsa-user/msg09440.html ML

Thanks for the help! I read through that link multiple times and i'm a bit confused, are you asking for the output of
Code:
cat /proc/asound/card1/eld#3.1
?

If so: http://pastebin.com/WVbv8qgH

Unfortunately i did not understand how to apply the fixes mentioned there.


RE: Audio sped up (chipmunk) with AC3 passthrough frodo 12.2 - fritsch - 2013-07-12

I did not ask for that output. Just thought you could use iecset ones and see if the device start working after it magically.


RE: Audio sped up (chipmunk) with AC3 passthrough frodo 12.2 - fritsch - 2013-07-12

Btw. your ELD announces a whole lot stuff, that looks quite impressive :-) Why spdif at all?


RE: Audio sped up (chipmunk) with AC3 passthrough frodo 12.2 - touser - 2013-07-12

(2013-07-12, 22:07)fritsch Wrote: Btw. your ELD announces a whole lot stuff, that looks quite impressive :-) Why spdif at all?

Unfortunately i've never been able to get any sound output via hdmi between my intel based computers and the receiver, which has me resorting to spdif. I would absolutely love to get sound working over hdmi with the receiver but months of googling has left me stumped. It works fine in windows out of the box for some reason but i refuse to run windows, perhaps that thread you linked will help me get hdmi audio working as well. Thanks!