[WINDOWS][PATCH]Bitstream output of HD audio formats

  Thread Rating:
  • 17 Votes - 4.76 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
mrhyde1969 Offline
Donor
Posts: 304
Joined: Sep 2011
Reputation: 2
Post: #916
(2012-02-05 08:44)charlievoviii Wrote:  man it works like i charm. I watch two movies today in my dedicated hometheater, from my HTPC HDMI to my Onkyo AVR. With Bluray guide to bitstream i gets random audio skips, but with this patch stuffs no issues so far, im very please. Thank you so much. I would like to donate some money, who do i sent it to ?

http://xbmc.org/ just click on donate Smile. I also have finally donated after this patch came out. Would donate even more if somehow they implemented madVR into XBMC Smile
find
nikc0069 Offline
Senior Member
Posts: 250
Joined: Jan 2011
Reputation: 1
Post: #917
Anyone using this on Win 8 Consumer preview and can report success?
find
Raytestrak Offline
Donor
Posts: 312
Joined: Sep 2011
Reputation: 3
Post: #918
(2012-03-13 12:52)nikc0069 Wrote:  Anyone using this on Win 8 Consumer preview and can report success?

Sort of ... running it at startup (not as a shell, but via runkeys/startup folder/scheduled task) results in a non responsive xbmc. The metroui screws up xbmc, if the 'old' desktop is visible it works. Start it as shell and it works fine. Audio wise ... no problems.

OpenElec on an Intel NUC (DC3217IYE). Onkyo NR-717. Canton Movie CD-1000. LG 42LM760S

If it ain't broke: break it, fix it, repeat
find
CDRSteve Offline
Donor
Posts: 1
Joined: Mar 2012
Reputation: 0
Post: #919
Thanks for the outstanding development work!! This works great on my system. Finally seeing those HD audio lights on my AVR. Now I just wish for this to be incorporated into an Eden +pvr version Smile! Thanks again for all the hard work
find
DanielaE Offline
Team-XBMC Member
Posts: 78
Joined: Dec 2011
Reputation: 30
Location: Germany
Post: #920
(2012-03-13 12:52)nikc0069 Wrote:  Anyone using this on Win 8 Consumer preview and can report success?
I do. It's been fine in the developer preview as well (as stated in my post #1)

ciao, Dani

AMD Fusion E-350/Win 8/custom XBMC, Yamaha RX-V1900, Pioneer DV-LX50, custom speakers
find
nikc0069 Offline
Senior Member
Posts: 250
Joined: Jan 2011
Reputation: 1
Post: #921
Thanks all Smile

Considering using the consumer preview before I need to shift a lot of my library onto the actual HTPC itself. I run it using EventGhost so I may hang fire for now as it is all working so smoothly.
find
DanielaE Offline
Team-XBMC Member
Posts: 78
Joined: Dec 2011
Reputation: 30
Location: Germany
Post: #922
(2012-03-12 22:41)DDDamian Wrote:  
(2012-03-12 04:32)DDDamian Wrote:  
(2012-03-11 11:50)DanielaE Wrote:  I made DirectSound capable of bitstream pass-through as well. May be this helps people with WASAPI problems.
I saw that, but if anything else plays (system sound, etc) it would break passthrough I think. WASAPI's definitely best as long as the sound drivers are good.
Hi Daniela - just confirming DirectSound will not allow passthrough as expected - it'll reject passthrough formats as it controls the output format Sad Any call to initialize DirectSound needs to use it's sample rate/data format or be rejected.
Well, I re-ran my complete test suite (all HD formats, up to 7.1, up to 24bit, up to 174.4kHz) with DirectSound selected instead of WASAPI - just to make sure my latest changes didn't break anything in this regard. DS was configured with default settings (16bit, 48kHz).

Everything went fine without any stutter or failure.

ciao, Dani

AMD Fusion E-350/Win 8/custom XBMC, Yamaha RX-V1900, Pioneer DV-LX50, custom speakers
(This post was last modified: 2012-03-13 20:46 by DanielaE.)
find
DDDamian Offline
Team-XBMC Developer
Posts: 3,030
Joined: Sep 2011
Reputation: 254
Location: Canada
Post: #923
(2012-03-13 20:46)DanielaE Wrote:  
(2012-03-12 22:41)DDDamian Wrote:  
(2012-03-12 04:32)DDDamian Wrote:  
(2012-03-11 11:50)DanielaE Wrote:  I made DirectSound capable of bitstream pass-through as well. May be this helps people with WASAPI problems.
I saw that, but if anything else plays (system sound, etc) it would break passthrough I think. WASAPI's definitely best as long as the sound drivers are good.
Hi Daniela - just confirming DirectSound will not allow passthrough as expected - it'll reject passthrough formats as it controls the output format Sad Any call to initialize DirectSound needs to use it's sample rate/data format or be rejected.
Well, I re-ran my complete test suite (all HD formats, up to 7.1, up to 24bit, up to 174.4kHz) with DirectSound selected instead of WASAPI - just to make sure my latest changes didn't break anything in this regard. DS was configured with default settings (16bit, 48kHz).

Everything went fine without any stutter or failure.

Can you check if you disabled WASAPI in Windows audio control panel? Unchecking "Allow applications to take exclusive control of this device"?

On Win7 disabling WASAPI breaks passthrough as expected. Wondering if Win8 does things differently.

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
bluray Offline
Posting Freak
Posts: 8,316
Joined: May 2011
Reputation: 145
Post: #924
(2012-03-13 07:49)Dj Freddy D Wrote:  Finally had the time to play around with this. I just remembered when I went from Dharma to this version of XBMC I just updated instead of removing old version and doing a clean install. I uninstalled XBMC and re-installed. I now get that infamous "D" for digital nowSmile

Thanks DDaminan and Bluray for your help!
I'm glad that you got it to work. It's time to enjoy HD audio then....

>Alienware X51- do it all HTPC
>Simplify XBMC configurations
>HOW-TO Bitstreaming using XBMC
I refused to watch movie without bitstreaming HD audio!
find
Senthil Offline
Junior Member
Posts: 35
Joined: Feb 2012
Reputation: 0
Location: Adelaide
Post: #925
(2012-03-11 11:50)DanielaE Wrote:  I made DirectSound capable of bitstream pass-through as well. May be this helps people with WASAPI problems.

this sounds kool, i'm going to try with my xonar HDAV 1.3, I'm stuck with it because of it's driver, WASAPI exclusive does bypass the Windows mixer, but the Xonar driver resamples and switches the channel to whatever you set the Xonar control panel to and breaks the HD Audio passthrough. well where i can find the installer that does the bitstream in directSound mode?

keep your good work guys n girls Laugh

You can avoid reality, but you cannot avoid the consequences of avoiding reality !
find
DanielaE Offline
Team-XBMC Member
Posts: 78
Joined: Dec 2011
Reputation: 30
Location: Germany
Post: #926
(2012-03-13 20:55)DDDamian Wrote:  
(2012-03-13 20:46)DanielaE Wrote:  
(2012-03-12 22:41)DDDamian Wrote:  Hi Daniela - just confirming DirectSound will not allow passthrough as expected - it'll reject passthrough formats as it controls the output format Sad Any call to initialize DirectSound needs to use it's sample rate/data format or be rejected.
Well, I re-ran my complete test suite (all HD formats, up to 7.1, up to 24bit, up to 174.4kHz) with DirectSound selected instead of WASAPI - just to make sure my latest changes didn't break anything in this regard. DS was configured with default settings (16bit, 48kHz).

Everything went fine without any stutter or failure.
Can you check if you disabled WASAPI in Windows audio control panel? Unchecking "Allow applications to take exclusive control of this device"?
On Win7 disabling WASAPI breaks passthrough as expected. Wondering if Win8 does things differently.
Win8 does the same as Win7. As I said, all audio settings are defaults. This means both checkboxes in the audio panel affecting exclusive mode are checked.

In fact, I have reinstalled everything without changes to the installation defaults: Win8 CP with AMD Catalyst, AMD HDMI, and XBMC. Passthrough is fine with every output device option available: primary sound device, AMD DirectSound, AMD WASAPI. I.e. passthrough is supposed work out-of-the-box.


(2012-03-15 03:30)Senthil Wrote:  where i can find the installer that does the bitstream in directSound mode?
Every build advertised in this thread has that capability.

ciao, Dani

AMD Fusion E-350/Win 8/custom XBMC, Yamaha RX-V1900, Pioneer DV-LX50, custom speakers
(This post was last modified: 2012-03-15 10:48 by DanielaE.)
find
DDDamian Offline
Team-XBMC Developer
Posts: 3,030
Joined: Sep 2011
Reputation: 254
Location: Canada
Post: #927
(2012-03-15 10:10)DanielaE Wrote:  This means both checkboxes in the audio panel affecting exclusive mode are checked.

Hi Dani, if you disable "Allow applications to take exclusive control of this device" what happens in Win8?

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
DanielaE Offline
Team-XBMC Member
Posts: 78
Joined: Dec 2011
Reputation: 30
Location: Germany
Post: #928
Well - the expected: no more passthrough.Wink

ciao, Dani

AMD Fusion E-350/Win 8/custom XBMC, Yamaha RX-V1900, Pioneer DV-LX50, custom speakers
find
DDDamian Offline
Team-XBMC Developer
Posts: 3,030
Joined: Sep 2011
Reputation: 254
Location: Canada
Post: #929
(2012-03-15 20:04)DanielaE Wrote:  Well - the expected: no more passthrough.Wink

Yeah, that switch basically changes things from WASAPI Exclusive to WASAPI Shared/DirectSound or vice-versa. Okay, just wondered if it became a viable workaround in Win8, as Win7 w/DirectSound & bitstreaming = no go. Currently the code expects WASAPI Exclusive to function. Still, that should work for everyone providing their sound device drivers support it. Unfortunately for Senthil the Xonar drivers just don't support bistreaming outside of using the Arcsoft drivers specific to TMT Sad

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
h8redv2 Offline
Member
Posts: 80
Joined: Mar 2012
Reputation: 0
Post: #930
Holy cow.... am getting the RC2 version as I type.
Great news, then I only need to pass my 3D rips to tmt 5.
Finally I can stay in XBMC for DVD, MKV and BDMV and enjoy bitstreaming.
find
Thread Closed