Kodi Community Forum
Testing audio engine ActiveAE - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: Testing audio engine ActiveAE (/showthread.php?tid=170338)



RE: Testing audio engine ActiveAE - fritsch - 2013-09-10

Test with ActiveAE and see what happens, enable audiophile also. and supply a logfile.


RE: Testing audio engine ActiveAE - Dixon Butz - 2013-09-10

nvm


RE: Testing audio engine ActiveAE - bibi - 2013-09-10

Here the log : http://xbmclogs.com/show.php?id=57121


RE: Testing audio engine ActiveAE - FernetMenta - 2013-09-10

Quote:I think i found another bug ^^, when i watch livetv with e-ac3 audio (e-ac3 passthrough disable), and then i toggle on/off "use speakers in stereo", i come back to livetv menu for 1 seconde, then the video is back.

We did not touch this with ActiveAE. Toggling PCM/passthrough is not properly implemented. Currently it closes/reopens player because player is required to open a different codec.


RE: Testing audio engine ActiveAE - bibi - 2013-09-10

Ok.
Thanks for the explanation.


RE: Testing audio engine ActiveAE - tarkus - 2013-09-11

(2013-09-10, 14:39)fritsch Wrote: Test with ActiveAE and see what happens, enable audiophile also. and supply a logfile.

Thanks for the reply fritsch.

Actually, I had to revert to the monthlies about a week or two ago because I started encountering a more severe problem with my audio. I did not post at that time because I assumed it would be a temporary bug but I have just tried the latest build and it has not been fixed yet so I will attempt to provide you with information.

Problem:
All audio (whether from music or video) is severely distorted, making the Beatles sound like chipmunks playing through a very bad AM station (please see http://youtu.be/gsmpOJu_oI4). I currently use USB audio out to my DAC (NAD M51), which doesn't have much linux support but I guess the point would be that it used to work, albeit with some other, separate issues.

Log: http://paste.ubuntu.com/6090313/

Thanks for any help! I will revert to the monthlies for now but happy to try anything you suggest.

PS. this is a log file with the monthly build, where audio is working. Not sure if it helps: http://paste.ubuntu.com/6090403/


RE: Testing audio engine ActiveAE - fritsch - 2013-09-11

I see the linux support:

Quote:09:33:57 T:2984954688 NOTICE: m_deviceType : AE_DEVTYPE_PCM
09:33:57 T:2984954688 NOTICE: m_channels : FL,FR,BL,BR,FC,LFE,SL,SR,UNKNOWN1,UNKNOWN2
09:33:57 T:2984954688 NOTICE: m_sampleRates : 44100,48000,88200,96000,176400,192000
09:33:57 T:2984954688 NOTICE: m_dataFormats : AE_FMT_S32NE

and:

Quote:09:37:56 T:2974808896 DEBUG: Output Device : NAD USB Audio 2.0
09:37:56 T:2974808896 DEBUG: Sample Rate : 96000
09:37:56 T:2974808896 DEBUG: Sample Format : AE_FMT_S32NE
09:37:56 T:2974808896 DEBUG: Channel Count : 10
09:37:56 T:2974808896 DEBUG: Channel Layout: FL,FR,BL,BR,FC,LFE,SL,SR,UNKNOWN1,UNKNOWN2
09:37:56 T:2974808896 DEBUG: Frames : 4800
09:37:56 T:2974808896 DEBUG: Frame Samples : 48000
09:37:56 T:2974808896 DEBUG: Frame Size : 40

That is quite insane :-). Have to think over it.

The problem is the Frame Size: 40.


RE: Testing audio engine ActiveAE - fritsch - 2013-09-11

For the insane bufferSize, please try: http://paste.ubuntu.com/6091191/

There is another problem with the UNKOWN1, UNKNOWN2 speakers - that we have to fix at the our interface to ffmpeg.


RE: Testing audio engine ActiveAE - fritsch - 2013-09-11

Sorry for spamming :-)

But can you try, those two patches: https://github.com/fritsch/xbmc/commits/aefixes just on top of master.


RE: Testing audio engine ActiveAE - jpsdr - 2013-09-11

(2013-09-08, 20:56)FernetMenta Wrote: There was indeed an issue related to this:
https://github.com/FernetMenta/xbmc/commit/82fe042d329c0f83e99fa50567d93b23b6e20a6f

I've not seen this pulled in master branch yet. Is it because i've not seen it and missed it, or is it just because it's not pulled yet ?


RE: Testing audio engine ActiveAE - fritsch - 2013-09-11

@jpsdr:

Fernet did not push it yet.


RE: Testing audio engine ActiveAE - fritsch - 2013-09-11

Update: now those fixes are in. Also the higher level fixes for @tarkus

We still discuss workaround around those specific kernel bugs in our AlsaSink.


RE: Testing audio engine ActiveAE - franzem - 2013-09-13

Hi, just installed 13.0 Alpha, latest version from GIT and all seems to work ok, except for sound, where my sound card doesn't get recognised - simple silence.

Running Arch Linux, trying SPDIF output, a brief look through the log files indicates it can't find Card 0 (there isn't one) and it can't make out some of the other parameters. Why won't it just use the default?

I have uploaded the log file: http://xbmclogs.com/show.php?id=58172

My ALSA config is:

[htpc@htpc ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: ICE1724 [ICEnsemble ICE1724], device 0: ICE1724 [ICE1724]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: ICE1724 [ICEnsemble ICE1724], device 1: ICE1724 IEC958 [ICE1724 IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0

and my asound.conf is:

[htpc@htpc ~]$ cat /etc/asound.conf
pcm.HW_iec958 {
type hw
card 2
device 1
}

# Softvolume Control
pcm.Filter_SoftwareVolume {
type softvol
slave.pcm "HW_iec958"
control {
name "Software Volume Mixer"
card 2
}
}

# Make last filter the default device
pcm.!default {
type plug
slave.pcm "Filter_SoftwareVolume"
}

thanks!
Michael


RE: Testing audio engine ActiveAE - fritsch - 2013-09-13

Remove all those asound.conf hacks and retry.

Edit: If you find time, try to configure the sound card manually via System -> Settings -> System -> Audio Hardware within xbmc. You have to "press" left and choose Advanced to change the sound device.

Thanks for your help.


RE: Testing audio engine ActiveAE - tarkus - 2013-09-13

(2013-09-11, 12:57)fritsch Wrote: Update: now those fixes are in. Also the higher level fixes for @tarkus

We still discuss workaround around those specific kernel bugs in our AlsaSink.
Hi fritsch,

Sorry for the late reply, I have been working shift work etc and have not had the time to test. I have tried the latest master build, and now xbmc crashes and restarts whenever I try to play a music file or video.

Here's the pastebin:
http://paste.ubuntu.com/6101889/

To be honest I'm not 100% on how to patch and build yet and have been relying on daily builds, but I will try learn this soon.

Thanks again!