[Windows] AudioEngine testers - Windows platform only
gnif
Team-XBMC Developer Posts: 442 Joined: Feb 2008 Reputation: 34 Location: Australia, Katoomba |
2012-04-30 12:37
Post: #301
@PanDaMan - DaniellaE's branch will also be clipping, this is an existing issue, what's different is that AE reports it so we know when it occurs. We are currently working on a DRC patch that will help with this behaviour instead of just clamping the buffer. (We never output clipped audio, we have a soft clamper that performs a poor mans DRC to the samples when this occurs).
I am not scared of SVN - Cutting my hands open on the bleeding edge. |
| find quote |
wints
Senior Member Joined: Apr 2011 Reputation: 0 |
2012-04-30 19:41
Post: #302
(2012-04-28 09:43)wints Wrote: Hi guys and girl great work hdmi switching problem is sorted for me but i now have no audio in tv series what are mp3? cheers for any advice Sorry to ask again but is this just happening to me? or is it a known problem? they used to play fine in the last build, cheers again Cinema Room HTPC with XBMC Frodo RC1~Epson TW3200~Yamaha RX-V765~Sky+HD~Monitor Audio 250's Front & Centre~Monitor Audio RXFX Rears~BK XXLS400 Sub~Harmony-One |
| find quote |
DDDamian
Team-XBMC Developer Joined: Sep 2011 Reputation: 252 Location: Canada |
2012-04-30 20:02
Post: #303
Hi wints - if you're using the latest please post a log and I'll take a look - thx.
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 |
wints
Senior Member Joined: Apr 2011 Reputation: 0 |
2012-04-30 20:23
Post: #304
ok cheers DDDamian http://xbmclogs.com/show.php?id=2092
Cinema Room HTPC with XBMC Frodo RC1~Epson TW3200~Yamaha RX-V765~Sky+HD~Monitor Audio 250's Front & Centre~Monitor Audio RXFX Rears~BK XXLS400 Sub~Harmony-One |
| find quote |
DDDamian
Team-XBMC Developer Joined: Sep 2011 Reputation: 252 Location: Canada |
2012-04-30 20:39
Post: #305
Interesting - if unexpected - nothing too unusual, just a 48khz mp3. I have the same GPU on my main machine, so should be able to repro easily enough.
I'm on it ![]() EDIT: @wints - no issues here on video with mp3 48khz audio - log shows everything normal - is your volume up? Press "+" key? Do normal mp3's (music) play okay? 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!
(This post was last modified: 2012-05-01 02:58 by DDDamian.)
|
| find quote |
PanDaMan
Junior Member Posts: 3 Joined: Apr 2012 Reputation: 0 |
2012-05-01 06:17
Post: #306
(2012-04-30 12:37)gnif Wrote: @PanDaMan - DaniellaE's branch will also be clipping, this is an existing issue, what's different is that AE reports it so we know when it occurs. We are currently working on a DRC patch that will help with this behaviour instead of just clamping the buffer. (We never output clipped audio, we have a soft clamper that performs a poor mans DRC to the samples when this occurs). @gnif - Thanks. I did not hear any distortion with DaniellaE's, I also don't hear anything or get any clamping logged if I set the volume in guisettings to 0.999999 which should be close enough to 1.0 not to matter. See http://xbmclogs.com/show.php?id=2103 My C is very rusty, but wouldn't the missing 'f' suffix on line 939 in SoftAE.cpp mean it's being compared as a double rather than float and could the promotion be marginal making it think it needed to clamp when it didn't? By "poor man's DRC" did you mean the tanh approximation? That looks well off for values |x| > 0.5 if I'm reading the plot here correctly: http://bit.ly/Jx4ULG Applying this only on blocks with values > 1.0 means there's additional non-linearity between blocks that get clamped and those that don't. That might also cause the distortion I was hearing. Finally, the SSE clamp looks broken, implementing (x * (c1 + x^2)) / (c2 + x^2). c2 should just be 9.0f and an additional multiply operation is needed (x * (c1 + x^2)) / (c1 + (c2 * x^2)) |
| find quote |
Nimo
Senior Member Joined: Nov 2011 Reputation: 3 Location: Germany |
2012-05-01 10:12
Post: #307
hi DDDamian,
is it possible to initialize wasapi exclusive everytime a movie get start to prevent handshake errors? because i ordered a pulseeight cec adapter and i am afraid to get more errors than success. 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
Team-XBMC Developer Joined: Sep 2011 Reputation: 252 Location: Canada |
2012-05-01 15:53
Post: #308
@Nimo - it is almost certain that each time you play a movie the wasapi device will be re-initialied. The reason is we default to 2ch 44.1khz pcm when no stream is playing as every windows-compatible audio device *must* support that format. As soon as you play anything different the device is re-initialized to match the format of the stream, whether its a passthrough format or another pcm format with a different bitdepth, channel layout or sample rate.
Unfortunately that is not the same as handshaking, which does not automatically occur when you reinitialize for a new format. This is controlled by the firmware in your hardware, whether receiver or TV, and a major failure of the HDMI specification implementation for many manufacturers. Sometimes the device itself needs to be powered off and on, sometimes just switching the input to another and back is enough. There is no way from the PC end to force this to happen. @PanDaMan - nice analysis - needs looking into for sure. Haven't run across this yet even with very "hot" tracks unless downmixing, but without having had time to dig deeper certainly a float/double conversion alone can introduce tiny errors - fp math can return unexpected results with very small comparisons, e.g around 1.0 but not quite 1.0. Any soft-clipper will produce distortions by nature, and it is in there as the final blocker to hard-clipping. If you weren't downmixing there should be no values >1.0, so we need to re-check the math there. Thanks for pointing it out as we hadn't run across it at all. 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 |
Hasu0bs
Member Posts: 99 Joined: Jan 2011 Reputation: 1 |
2012-05-01 18:50
Post: #309
Hello again,
after I figured out that you need something called PAP (Protected Audio Path) as a feature on your graphics card to bitstream the HD sound things I tried testing with my Desktop Computer(ATI Radeon HD5750). Obviously the GF9300 of my HTPC does not support PAP :-( Here are the results: Selecting WASAPI: Realtek HDMI (ATI HDMI) in Options got me no sound, so i tried it with Directsound: Realtek HDMI (ATI HDMI) and it worked Tested the following files, of which none was working:
So here is my debug log, i hope it helps you: http://xbmclogs.com/show.php?id=2124
(This post was last modified: 2012-05-01 18:56 by Hasu0bs.)
|
| find quote |
DDDamian
Team-XBMC Developer Joined: Sep 2011 Reputation: 252 Location: Canada |
2012-05-01 19:20
Post: #310
@Hasu0bs - PAP is meant more for adding in third-party software as DSPs and other sound-processing elements into the Windows audio layer, an ideal place for a virus and thus the protected status. The GF9300 is not hardware-compatible with bitstream formats.
You cannot bitstream HD audio formats through DirectSound - it is only capable of spdif formats like AC3 (Dolby). Your HD5750 will bitstream just fine. You don't mention the driver version/date for the RealTek driver, but I'd start by removing that in the Control Panel under Device Manager, then downloading the latest Catalyst Control Center v12.3 and installing it. Be sure that the driver now listed in Device Manager is the AMD/ATI HDMI High Definition Device, and that you have set it's properties correctly, especially checking the two boxes on the Advanced tab and disabling any enhancements. Select this as your audio device in XBMC-AE and everything should work fine. Again, do not use DirectSound for TrueHD/DTS-MA - it won't work. 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 |


Search
Help