[Windows] AudioEngine testers - Windows platform only

  Thread Rating:
  • 3 Votes - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
TRaSH Offline
Senior Member
Posts: 298
Joined: Jul 2011
Reputation: 1
Wink  RE: [Windows] AudioEngine testers - Windows platform only Post: #441
(2012-05-12 16:16)DDDamian Wrote:  @trash - i've seen that SQL error popping up a lot lately - perhaps time to try the full (non-portable) install, and go through your addons to see if any are causing the issue. The crash was an unrelated bug caused by a seperate threading project that I was able to track down - was fixed last night. JMarshall pushed some fixes last night addressing filepaths and the new SQL thumbnail caching which may have fixed the error you're getting - it's a new initiative by him to move the thumbs into the database, and he's been doing some bug-fixes on it.

i downloaded today the nighlty,
and gave it a fast test run.
it works even in portable mode.
did a few fast test with true-hd/dts and some mp3's
the last 5 seconds bug is also removed.
even my wife was impressed. (WAF Big Grin )
Cool
nice work you all,
will do some more testing later this week.

something i'm trying to figure out if there's a sort of change log of the nightly's

Windows 7, 64-bit | XBMC Frodo | Aeon Nox | MONEUAL 320B (not working remote and display:angry:, yet) | Intel® Core™ i5 CPU 661 | Sapphire HD 6570 1GB DDR3
Onkyo TX-SR875 | Teufel System 5 THX Cinema 5.1
HP Microserver N40L WHS 2011 8TB
[Image: all-fanart.jpg]
find quote
Martijn Online
Team-XBMC
Posts: 7,698
Joined: Jul 2011
Reputation: 114
Location: Dawn of time
Post: #442
@TRaSH

The complete changelog can be found here:
https://github.com/xbmc/xbmc/commits/master

the number that you find in the nightly: XBMCSetup-20120513-240b7a9-master.exe

corresponds with a commit number so you can see what happens between builds

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first


For your mediacenter artwork go to
[Image: fanarttv.png]
find quote
Nimo Offline
Senior Member
Posts: 224
Joined: Nov 2011
Reputation: 3
Location: Germany
Post: #443
not even audio related but annoying: fast scrolling through movie database crash repeatable my xbmc
21:50:23 T:2152 ERROR: exception in CApplication::Render()
21:50:23 T:2152 ERROR: m_pD3DDevice->BeginScene() failed. 8876086C - D3DERR_INVALIDCALL (Invalid call)
21:50:23 T:2152 ERROR: exception in CApplication::Render()
without advancedsettings.xml

A/V: Sony KDL52W5500|Yamaha RX-V471|Elac Cinema XL Center|4x Elac Cinema 2 Sat|REL Strata II|Elac Sub 101 ESP
HTPC: Realan E-Q8|ASRock Z77E-ITX|iMon inside mod|i3-3225+HD4k|8GB 2133 RAM|60GB Vertex3|120W Pico PSU|Harmony 650|p8 USB-CEC|Win7 x64|XBMC 12alpha|Skin CE v2 SVN
Server: Raid 5 - 8x 2TB WD AV-GP|Win7 x64|HighPoint 2680
(This post was last modified: 2012-05-13 22:06 by Nimo.)
find quote
Martijn Online
Team-XBMC
Posts: 7,698
Joined: Jul 2011
Reputation: 114
Location: Dawn of time
Post: #444
@Nimo
If not audio related please post this in the general section or create trac ticket.
Please provide a full debug log there

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first


For your mediacenter artwork go to
[Image: fanarttv.png]
find quote
Warstomper Offline
Junior Member
Posts: 21
Joined: Sep 2010
Reputation: 0
Post: #445
Hi all,

I have beent trying to get AE(and Daniela's Patch and more recently using Nightlies) to work on my setup, but no matter what I do, DTS-HD does not seem to work properly.

Since I am not sure what kind of information you will need(I know you'll need a debug log) I will explain my situation.

Denon 1912 AVR
Win7 x64 installation on a pc with Intel 2100T CPU and an AMD 6450 graphics card.

First thing I should note, is that from what I understand, for bitstreaming to work properly, XBMC should be setup using WASAPI, and exclusive mode should be enabled for the output device in Windows.
I have used Daniela's patch for some time, and this has thus far given me the best results, where all the audio formats work properly when XBMC is set to using WASAPI(Including DTS-HD) albeit slightly(A very small, but still noticeable delay) out of sync. Because of this, and the developers intent to go forward with AE, I tried to get it work, but not a single version up to now has fixed my issues yet. I should also note, that I always did a completely new installation of XBMC (Removing the profile folder and any addons every time)

I have the following problems using AE:

- Using WASAPI results in no sound output whatsoever.
- Directsound works(My receiver tells me it's getting the pure audio format, DTS, Dolby, DTS-HD) but from my knowledge, I should have it working over WASAPI.
- When playing a DTS-HD track, my reciever does show it, but the sound is really crackling, or not working at all while the video is running along around 3-5 FPS, making any movie with DTS-HD unwatchable in the current situation.

How can I help you guys gather as much information as you need to be able to troubleshoot this issue? Do you prefer some pre-made samples I can download somewhere, or can I just use any movie I have in my colleciton for the debug log? Is there other information you want me to supply apart from the debug log?

I would love to hear from you guys what info you'd like me to gather and I'll get on to it.
find quote
Nimo Offline
Senior Member
Posts: 224
Joined: Nov 2011
Reputation: 3
Location: Germany
Post: #446
try the latest build here
and check all your system and graphic drivers
set in windows your soundmanager to your setup (7.1)
i hope that helps.

A/V: Sony KDL52W5500|Yamaha RX-V471|Elac Cinema XL Center|4x Elac Cinema 2 Sat|REL Strata II|Elac Sub 101 ESP
HTPC: Realan E-Q8|ASRock Z77E-ITX|iMon inside mod|i3-3225+HD4k|8GB 2133 RAM|60GB Vertex3|120W Pico PSU|Harmony 650|p8 USB-CEC|Win7 x64|XBMC 12alpha|Skin CE v2 SVN
Server: Raid 5 - 8x 2TB WD AV-GP|Win7 x64|HighPoint 2680
find quote
paolov74 Offline
Junior Member
Posts: 22
Joined: Oct 2011
Reputation: 0
Post: #447
Hi DDDamian,

I'm succesfully trying latest nightly AE, expecially bitstreaming wise (TrueHD and DTS-HD are passing through nicely). Compared to DanielaE latest build I get severe stuttering after seeking, only on bluray folder and not on mkv: I'll submit a complete log ASAP.

I remember some advancedsettings.xml entry you mentioned in your early post: sinkbuffertime, audiophile, etc.. Are these settings still valid or they get lost during xbmc startup?

Thanks a lot for the big effort!

[font=Verdana][/font] Windows 7 32bit Home Professional - ASUS E35M1-M PRO - OCZ SSD 50GB drive - Mini ITX case - HDMI -> Onkyo TX SR608 > HDMI - LG PX950N 60" plasma TV | Eden pre11.0 beta 3 DDDamian build
find quote
bambi73 Offline
Senior Member
Posts: 165
Joined: Jan 2010
Reputation: 0
Location: Czech Republic
Post: #448
Hello all,

today I compiled xbmc master and got no audio, completelly nothing, not even skin sounds.
First problem what I found was that audio setting was reset to HDMI 7.1, so changed it back to Analog 2.0 (my PC is regular development PC with onboard audio and headphones, so no receiver etc.), but nothing changed, no sound. There is debug log, but no apparent audio/hw related error. I tried to use forceDirectSound but again nothing changed. Not sure if these logs helps to AE developers, but at least I hope Smile

Edit: It's my first meeting with AE so i don't follow this thread. If my issue is known/already solved then please forward me to correct place.
Edit2: Looks like there already exists issue in Trac for it.
(This post was last modified: 2012-05-14 23:30 by bambi73.)
find quote
Voyager Offline
Team-XBMC Member
Posts: 304
Joined: Apr 2010
Reputation: 4
Location: Belgium
Post: #449
Hello everyone

I recently stumbled on an issue that I didn't have before. My setup uses EventGhost to auto start xbmc when resuming from sleep and my audio is connected through HDMI (AMD HDMI). I'm using Catalyst 12.3.
The issue is that when resuming from sleep it takes up to 10 seconds for the Audio device to go from enabled + "not plugged in" to enabled and "active". I noticed in the XBMC source code that enumeration uses DEVICE_STATE_ACTIVE only as a valid status for the device. As a result of that if XBMC is starting up during that timeframe, it doesn't detect the HDMI Audio device, resulting in no sound whatsoever.

This not being very practical, you can do two things. a) build in a wait for 10 seconds in EventGhost (but how long? maybe there's variance in how quickly the HDMI Audio gets reconnected after wake up?) or b) wait for the device to become active before starting XBMC.

So I wrote a little C++ program that follows the same logic of device enumeration and properties listing (actually textbook example from MS documentation), but as the valid status I took DEVICE_STATE_ACTIVE | DEVICE_STATE_UNPLUGGED, which also gives me the unplugged devices. The program is a command-line console app that takes a few arguments, 1. the GUID of the device you want to wait for, 2. the number of milliseconds between probing the device's status, and 3. the max number of probes. When the app runs, it will probe the device until it becomes "active" and will then immediately exit. I've tried it with my EventGhost setup - so it runs right after wake up and will fire up XBMC as soon as it ends. If anyone interested, let me know I'll post the app on the forum.

This leaves me to think that other people might have the same issue and that allowing "unplugged" devices is something that could potentially be brought into the XBMC code base (as a third option to solve this). This way we wouldn't need this kind of utility anymore. Apparently there's also an event that's being fired as soon as the device becomes "active", so waiting/probing might not even be needed...

Regards - Voyager
(This post was last modified: 2012-05-15 12:31 by Voyager.)
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,023
Joined: Sep 2011
Reputation: 252
Location: Canada
Post: #450
Hi folks - just back from a brief holiday with family - will respond to your posts shortly Smile

System: XBMC HTPC with HDMI WASAPI & AudioEngine - Denon AVR-3808CI - Denon DVD-5900 Universal Player - Denon DCM-27 CD-Changer
- Sony BDP-S580 Blu-Ray - X-Box 360 - Android tablet wireless remote - 7.1 Streem/Axiom/Velodyne Surround System
If I have been able to help feel free to add to my reputation +/- below - thanks!
find quote
Post Reply