[AudioEngine] Support for AE on Windows platform

  Thread Rating:
  • 4 Votes - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
consilium Offline
Junior Member
Posts: 9
Joined: Apr 2012
Reputation: 0
Post: #11
(2012-05-11 15:50)DDDamian Wrote:  
(2012-05-11 13:14)consilium Wrote:  Amazing. Works beautifully now!

Glad to hear it - enjoy.

Looks like the problem is back. I haven't made any changes to my system or XBMC.
As before, if I toggle the "Output to all speakers"-option on and off, the video starts playing smoothly.

See attached debug log.
http://xbmclogs.com/show.php?id=2484
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,023
Joined: Sep 2011
Reputation: 252
Location: Canada
Post: #12
(2012-05-11 21:13)consilium Wrote:  
(2012-05-11 15:50)DDDamian Wrote:  
(2012-05-11 13:14)consilium Wrote:  Amazing. Works beautifully now!

Glad to hear it - enjoy.

Looks like the problem is back. I haven't made any changes to my system or XBMC.
As before, if I toggle the "Output to all speakers"-option on and off, the video starts playing smoothly.

See attached debug log.
http://xbmclogs.com/show.php?id=2484

Toggling that is forcing it to reinitialize the audio device, which is why it's working after, The root cause is Windows isn't calling back for more data before the buffer runs out, which is unusual. If you pull a nightly tomorrow we've added some additional debugging info that may help is here, so a log then will have more details, The best workarounds for now are increasing the "150" value in the code I gave you to about 250, and also making sure your audio drivers are fully up to date. See if that helps and if not post a log from the new nightly tomorrow pls.

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
consilium Offline
Junior Member
Posts: 9
Joined: Apr 2012
Reputation: 0
Post: #13
Increasing the value to 250 ms. did the trick. I'll test with tomorrows nightly and deliberately remove the advancedsettings.xml file to reproduce the error so you can sort this thing out. Thanks again mate!
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,023
Joined: Sep 2011
Reputation: 252
Location: Canada
Post: #14
(2012-05-12 18:03)consilium Wrote:  Increasing the value to 250 ms. did the trick. I'll test with tomorrows nightly and deliberately remove the advancedsettings.xml file to reproduce the error so you can sort this thing out. Thanks again mate!

Np. That's quite a long buffer (I and most use 50ms) but there's no harm in that. Just makes me think your cpu or system is very slow - 50ms is the default and seems to work for most, but that's why we added the option to adjust it as well.

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
consilium Offline
Junior Member
Posts: 9
Joined: Apr 2012
Reputation: 0
Post: #15
It's an older Core 2 Duo @ 2.4 GHz, supported by a GT520 to accelerate & deinterlace video. Can't imagine some WASAPI action stresses the CPU that much...what do you reckon?
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,023
Joined: Sep 2011
Reputation: 252
Location: Canada
Post: #16
I've been getting scattered reports of high CPU usage in PAPlayer (music player in XBMC) - we're looking into that, and it may be part of the issue for you. If we can improve performance ofc we will. If you go to the settings page and enable debugging there you can see your CPU usage on the screen,

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
consilium Offline
Junior Member
Posts: 9
Joined: Apr 2012
Reputation: 0
Post: #17
Good catch. Whenever playing music, CPU usage is in the 90's and Milkdrop is having a hard time rendering at 60 hz. This didn't happen with earlier builds.
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,023
Joined: Sep 2011
Reputation: 252
Location: Canada
Post: #18
Interesting, and helps verify it's an issue. I'll look at what's causing that - you should definitely not be seeing numbers like that even with visualizations on.

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
Nimo Offline
Senior Member
Posts: 224
Joined: Nov 2011
Reputation: 3
Location: Germany
Post: #19
hi there. i can not export my whole movie database, it began normal but stopped at tv-shows. i checked this on 2 pc´s and same issue. i tried separate and no overwriting exist. play from there is possible. it is a smb and works well in early builds, but i do not know since when it stops.
LOG

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
DDDamian Offline
Team-XBMC Developer
Posts: 3,023
Joined: Sep 2011
Reputation: 252
Location: Canada
Post: #20
Hi Nimo - sorry, you'll have to get answers for that elsewhere as it's not AE-related and this thread is specifically for that.

The cause of high cpu-usage with PAPlayer (music player) has been found - a fix will be coming shortly.

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