[Windows] AudioEngine testers - Windows platform only

  Thread Rating:
  • 3 Votes - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
smf007 Offline
Junior Member
Posts: 11
Joined: May 2012
Reputation: 0
Post: #431
(2012-05-12 16:16)DDDamian Wrote:  You cannot play uncompressed audio at 5.1 over spdif - it must be AC3 to do so. If you want 5.1 pcm over spdif pls add under <audio> in as.xml <transcodeto>ac3</transcodeto> - this will transcode your pcm stuff to AC3.
According to the contents of SoftAE.cpp, routine CSoftAE::LoadSettings(), the advanced setting is no longer used. If AC3passthrough is enabled, and the source is not an enabled passthrough type or > 2 channels, then transcoding to AC3 is automatically enabled for SPDIF and HDMI (when LPCM is disabled).

The apparent downside to this logic is that volume control and any filters (e.g. night mode) would not be applied to AC3 sources as it would be flagged as passthrough instead of decoded -> filters -> transcode.
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,023
Joined: Sep 2011
Reputation: 252
Location: Canada
Post: #432
@smf007 - yes, quite right - I'd pretty much forgotten we made it automatic based on devices. That logic is going to be replaced again with the new device enumeration logic going in.

We can however apply DRC (night mode) to upmixed sources before the transcoding to AC3, if it starts as pcm.

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
smf007 Offline
Junior Member
Posts: 11
Joined: May 2012
Reputation: 0
Post: #433
In the new logic, will it be able to decode AC3 to PCM before Transcoding? I'm trying to produce a simple setup for the Kids where the volume control in XBMC works for all sources, with output being AC3 or 2 channel PCM.
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,023
Joined: Sep 2011
Reputation: 252
Location: Canada
Post: #434
@smf007 - not something I'd really thought of, but there's no limitation to doing so I guess. That whole logic is still being worked out. Most folks wouldn't want that number of conversions, but I can understand what you're trying to do. If possible sure, we can work it in.

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
loekf Offline
Junior Member
Posts: 41
Joined: Apr 2012
Reputation: 0
Location: Netherlands
Post: #435
(2012-05-12 20:24)DDDamian Wrote:  @loekf - yep I'm confused. By WASAPI-> analog out in 5.1, you mean with PCM? No, that won't work unless you transcode to AC3. What are you trying to output in 5.1 using WASAPI and the Creative card that doesn't work?

Ehh....

as far as I know when I play a MKV with 5.1 DTS using WASAPI (on my PC, so with Creative XFi sound card):

XBMC decodes DTS 5.1 --> 5.1 PCM --> sent to WASAPI XFi device -> D/As on XFi -> 5.1 speakers

DirectSound's mixer is bypassed, so I would assume Creative's processing on the XFi is bypassed

I would assume that in case of a WASAPI output device, the audio decoding is still done by XBMC, WASAPI is just a render
method.

HTPC: MS-Tech MC-1200 | Asus F1A75-M | AMD A6 3650 | OCZ Agility3 120GB | Corsair Vengeance 2x4GB DDR3| LiteOn iHOS104 BDR | Win7 x64 (Catalyst 12.4) | XBMC 12.0-ALPHA2 Git:20120512-694a759
Home AV: Philips 37PFL5603 | UPC Mediabox | Philips BDP7600/12 | Onkyo TX-NR609 | Sony PS3 Slim | Logitech Harmony One | Sonos audio | Apple TV | 5.1 speakers (TMA, Phonar)
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,023
Joined: Sep 2011
Reputation: 252
Location: Canada
Post: #436
@loekf - there's the issue. WASAPI is just the render method - it is effectively passing thru right to the audio driver.

When XBMC is set to decode DTS (DTS 5.1 --> PCM 5.1) that's fine, but that's where it ends. SPDIF cannot send 5.1. If your Creative has 5.1 DACs and you are then using 3 prs of analog cables from the sound card to the receiver, that's fine, but not SPDIF.

To make matters worse, your card is reporting that it's only 2ch PCM, so even the second step there won't work, the PCM 5.1 --> Creative.

Check your Creative setup software and make sure it can accept 5.1pcm because it's not reporting that to Windows. Won't be the first issue I've seen with Creative's drivers.

I'm off now to go see family for the weekend, back on Monday if I don't check in somewhere in between, but keep me posted on what you find out with the Creative setup.

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-12 21:34 by DDDamian.)
find quote
jpsdr Offline
Senior Member
Posts: 260
Joined: Oct 2003
Reputation: 0
Post: #437
(2012-05-12 17:44)DDDamian Wrote:  The second is that one of the files has AAC audio - AAC is not decoded (yet) by AE - the only way it will work is if your receiver supports AAC natively.
Ok.
(This post was last modified: 2012-05-18 09:36 by jpsdr.)
find quote
PKOneTwo Offline
Senior Member
Posts: 160
Joined: Jan 2008
Reputation: 1
Post: #438
@DDDamian:
what is this intialization tries all about, is it intended?

http://pastebin.com/raw.php?i=XFkLFRvd
(This post was last modified: 2012-05-13 12:08 by PKOneTwo.)
find quote
jpsdr Offline
Senior Member
Posts: 260
Joined: Oct 2003
Reputation: 0
Post: #439
I've disabled in the BIOS the HD Via audio. Don't understand why there is trouble now and not before...
Nevertheless, doing this miracly made audio work, on all i've been able to test, flac, ac3, ogg, with several channels (2.0, 5.1, 4.0) and even 32bit. Everything worked, except one video, wich audio was flac 2.0 (but others with flac 2.0 worked).
The log file is here.
There was no audio, and no audio (zero channels) were send to my audio device (according it's front panel).
Here the result from MonInfo :
Code:
Monitor
  Model name............... VSX-921
  Windows description...... Moniteur Plug-and-Play générique VSX-921
  Manufacturer............. Pioneer
  Plug and Play ID......... PIO0000
  Serial number............ n/a
  Manufacture date......... 2010, ISO week 0
  Filter driver............ Monitor
  -------------------------
  EDID revision............ 1.3
  Input signal type........ Digital
  Color bit depth.......... Undefined
  Display type............. RGB color
  Screen size.............. 1100 x 620 mm (49,7 in)
  Power management......... Active off/sleep
  Extension blocs.......... 1 (Unknown - 0x00)
  -------------------------
  DDC/CI................... n/a

Color characteristics
  Default color space...... Non-sRGB
  Display gamma............ 2,20
  Red chromaticity......... Rx 0,683 - Ry 0,317
  Green chromaticity....... Gx 0,313 - Gy 0,581
  Blue chromaticity........ Bx 0,139 - By 0,050
  White point (default).... Wx 0,289 - Wy 0,280
  Additional descriptors... None

Timing characteristics
  Horizontal scan range.... 15-69kHz
  Vertical scan range...... 23-61Hz
  Video bandwidth.......... 150MHz
  CVT standard............. Not supported
  GTF standard............. Not supported
  Additional descriptors... None
  Preferred timing......... Yes
  Native/preferred timing.. 1920x1080p at 50Hz (16:9)
    Modeline............... "1920x1080" 148,500 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
  Detailed timing #1....... 1920x1080p at 60Hz (16:9)
    Modeline............... "1920x1080" 148,500 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync

Standard timings supported
     640 x  480p at  60Hz - IBM VGA
     800 x  600p at  60Hz - VESA
    1024 x  768p at  60Hz - VESA
    1280 x 1024p at  60Hz - VESA STD

Report information
  Date generated........... 13/05/2012
  Software revision........ 2.60.0.972
  Data source.............. Registry-Active
  Operating system......... 6.1.7601.2.Service Pack 1

Raw data
  00,FF,FF,FF,FF,FF,FF,00,41,2F,00,00,01,01,01,01,00,14,01,03,80,6E,3E,78,2A,​D7,B3,AE,51,50,94,23,
  0C,4A,47,21,08,00,81,80,01,01,01,01,01,01,01,01,01,01,01,01,01,01,02,3A,80,​D0,72,38,2D,40,10,2C,
  45,80,4E,6C,42,00,00,1E,02,3A,80,18,71,38,2D,40,58,2C,45,00,4E,6C,42,00,00,​1E,00,00,00,FD,00,17,
  3D,0F,45,0F,00,0A,20,20,20,20,20,20,00,00,00,FC,00,56,53,58,2D,39,32,31,0A,​20,20,20,20,20,01,CD
(This post was last modified: 2012-05-18 09:36 by jpsdr.)
find quote
loekf Offline
Junior Member
Posts: 41
Joined: Apr 2012
Reputation: 0
Location: Netherlands
Post: #440
(2012-05-12 21:32)DDDamian Wrote:  @loekf - there's the issue. WASAPI is just the render method - it is effectively passing thru right to the audio driver.

When XBMC is set to decode DTS (DTS 5.1 --> PCM 5.1) that's fine, but that's where it ends. SPDIF cannot send 5.1. If your Creative has 5.1 DACs and you are then using 3 prs of analog cables from the sound card to the receiver, that's fine, but not SPDIF.

To make matters worse, your card is reporting that it's only 2ch PCM, so even the second step there won't work, the PCM 5.1 --> Creative.

Check your Creative setup software and make sure it can accept 5.1pcm because it's not reporting that to Windows. Won't be the first issue I've seen with Creative's drivers.

I'm off now to go see family for the weekend, back on Monday if I don't check in somewhere in between, but keep me posted on what you find out with the Creative setup.

Yes I have 3 analog wires going to my speakers (FL + FR, RL + RL, C + woofer). As Creative didn't update their X-Fi drivers for more than 2 years, guess it's the Creative drivers. Of course, they have a new X-Fi card, but my next built will be either on-board audio or perhaps an Asus Xonar card.

I tried various modes (gaming, entertainment etc.. even bit-thru playback), but the WASAPI report back stays the same (2 channels). Funny thing still is that in DirectSound mode, 5.1 works, despite that XBMC reports 2 channels as well. Even when you switch off the so called 3D Crystalizer, which is upmixing to 5.1 as far as I know.

HTPC: MS-Tech MC-1200 | Asus F1A75-M | AMD A6 3650 | OCZ Agility3 120GB | Corsair Vengeance 2x4GB DDR3| LiteOn iHOS104 BDR | Win7 x64 (Catalyst 12.4) | XBMC 12.0-ALPHA2 Git:20120512-694a759
Home AV: Philips 37PFL5603 | UPC Mediabox | Philips BDP7600/12 | Onkyo TX-NR609 | Sony PS3 Slim | Logitech Harmony One | Sonos audio | Apple TV | 5.1 speakers (TMA, Phonar)
(This post was last modified: 2012-05-13 17:28 by loekf.)
find quote
Post Reply