AudioEngine branch - DO NOT REQUEST BINARY BUILDS - 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: AudioEngine branch - DO NOT REQUEST BINARY BUILDS (/showthread.php?tid=78289) |
- topfs2 - 2011-07-28 einhänder Wrote:...indeed ccache was responsible. I guess you use --disable-pulse? Looks like gnif forgot to ifdef guard it skip the --disable-pulse and use the AE_ENGINE=SOFT var - einhänder - 2011-07-28 yes i do use the --disable-pulse flag. i already took a look at the ifdef section in AEFactory.h but thought that it was covered correctly. Code: enum AEEngine do i miss anything? - nirmv - 2011-07-28 gnif Wrote:Update Fixed for me. Thanks. - Gryph - 2011-07-29 Loving your work here Gnif, wondering if you could help out a fellow Aussie to where I'm going wrong! Firstly, here's a log: http://pastebin.ubuntu.com/654158/ All the videos appear to play in fast forward, with no audio - If I play an MP3 or even the navigation sounds they appear to work. Here's the output of aplay -l Code: **** List of PLAYBACK Hardware Devices **** Code: cat /proc/asound/card1/eld#3.0 In the audio settings I have:- Custom: hw:CARD=NVidia,DEV=9 Passthrough: hw:CARD=NVidia,DEV=9 But scratching my head from here on in - Happy to shout you a beer for your assistance! ** EDIT ** Okay, I sorted the fast playback out by setting the Passthrough to: HDA NVidia hdmi I can still play MP3, GUI sounds and AVI movies are fine - Just the rest is missing ** SOLVED ** I added the line into /etc/modprobe.d/nvidia-hdmi.conf Code: options snd-hda-intel enable_msi=0 probe_mask=0x108 This changed all my devices around - I could now play DD/DTS/DTS-HD (Don't have any True-HD stuff to test with as yet) But I lost my MP3, Navigation sounds & AVIs. Tried a custom .asoundrc and /etc/asound.conf - No luck there. Using hw:1,9 (as this works in MY profile) Then it clicked, I logged in via the xbmc profile: Code: **** List of PLAYBACK Hardware Devices **** After changing the "Audio Output Device" to "Default" Passthrough to "hdmi" Set .asoundrc in the /home/xbmc to: Code: pcm.!default { Bingo bango we now have sound - I hope this info helps anyone else sort out their issues. - einhänder - 2011-07-29 topfs2 Wrote:I guess you use --disable-pulse? Looks like gnif forgot to ifdef guard it skip the --disable-pulse and use the AE_ENGINE=SOFT var i guess i got it now. i added a condition in AEFactory.cpp: Code: #if defined(__LINUX__) || defined(__APPLE__) edit: patch if required and reviewed positively: http://pastie.org/2289222 - dado483 - 2011-07-29 gnif Wrote:Since Pulse does not support pass-through it may be the cause of your issues at the moment. Hi Gnif, there isn't a a development version of pulseaudio that support the pass-through? If yes, that version support pass-through of all version of audio codec or is restricted for the moment only at some audio codec (Ex. simple DD or DTS)? Thanks! Davide - gnif - 2011-07-30 @dado483 - I have heard talk that this is coming, but for all intent and purposes Pulse at current can not do passthrough. @einhänder - I just pushed in a fix for this. @Gryph - This comes down to an issue with nVidia cards and HDMI, we cant tell which output is the correct one and you often need a modprobe line to correct it, its not really an issue related to AE at all, but thanks for the information. @ArtVandelae - Thanks for that, I have merged your pull request. I am actually on holidays for the next few days, so communication will be rather limited until I get back home. - Anssi - 2011-07-30 gnif Wrote:@dado483 - I have heard talk that this is coming, but for all intent and purposes Pulse at current can not do passthrough. Passthrough support was merged into pulseaudio git master in May. It is not supported by stable releases, though. - gnif - 2011-07-30 @Anssi - I meant, in stable (Natty). When it can, I am sure topfs2 will add support for it - erhnam - 2011-07-30 @Gryph, We use a script for xbmc-live to set the modprobe lines during startup. This script only works for Nvidia ION systems at the moment. Patches or comments are welcome. https://github.com/xbmc/xbmc-live/blob/master/live.d/03-configNVIDIAHDMI.sh - dado483 - 2011-07-30 Anssi Wrote:Passthrough support was merged into pulseaudio git master in May. It is not supported by stable releases, though. I've found this: http://cgit.collabora.com/git/user/arun/pulseaudio.git/ Arun is the user that have implemented pass-through in Pulseaudio master branch. I've not tried the Arun git version yet, as soon as possible i'll try and then i'll post the result with XBMC (hoping that all will works good! ) - topfs2 - 2011-07-30 gnif Wrote:@Anssi - I meant, in stable (Natty). When it can, I am sure topfs2 will add support for it haha, I most likely will not as I only own analog hw I will gladly help and review patches for it though - Wanilton - 2011-07-30 Today I compiled the current version of Audio Engine - repository Gnif, and also successfully build, I am using Windows 7, 64-bit, found some errors when using this new build, the main ones were: When playing shows or movies, with tracks Dolby True HD or DTS HD MA, I'm ok video (no aceleration), but I don´t have any audio, as in the movies with Dolby Digital and DTS audio are all ok (audio and video ok), in music, I can play normally first track, but when passing to the next track, skip 5 or 6 tracks, and plays well again. Recently I ran previous builds with previous versions AE, and usually audios HD ok for me, including DTS HD MA, any changes made in code, is what caused this effect when using in Windows O.S, here is my log. .http://dl.dropbox.com/u/25170804/xbmc.log The audio when listening to music, when the first run, I still need to press + to increase volume from 0 to 1 dB, so you can hear the audio. My receiver is onkyo 705 (decoder ok for audio HD), send audio using this configuration: DIRECTSOUND: AMD HDMI OUTPUT (AMD High Definition), I using ATI Radeon HD 5450 via HDMI for send sound and video to receiver. I Try use Exclusive Mode, with the same results for me... In my log i have this about AE: 2:49:40 T:3972 M:1727213568 WARNING: CAEUtil::GuessChLayout - This method should really never be used, please fix the code that called this - ArtVandelae - 2011-07-30 You shouldn't be using a Directsound device under Windows 7. Try changing it to something without that prefix. - Sam.Nazarko - 2011-07-31 Can't get this to work. Same issues as when I tried using MPC-HC. I have an ATI card so I used an override because my AVR was reporting Max Supported Channels as 6, bumped that up to 8. DolbyTrueHD will show on my receiver, but video plays very slowly and can't hear sound. DTS-HD MA shows on AMP as DTS and no sound is heard. Ideas? Using HTR80 (Onkyo) and LG 42LD450 |