AudioEngine branch - DO NOT REQUEST BINARY BUILDS

  Thread Rating:
  • 15 Votes - 4.47 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
gnif Offline
Team-XBMC Developer
Posts: 442
Joined: Feb 2008
Reputation: 34
Location: Australia, Katoomba
Post: #1201
@fincheresque - Yes, this is an issue I am looking into, I need to find a way to enumerate the device capabilities without opening it. You can find out what might be using the device by running "lsof -n | grep asound" (betting its PulseAudio)

Off topic, butMemphiz sounds correct, looks like your firewall is broken and should be clamping your MSS to your PMTU:
iptables -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu

Reducing your MTU has the same effect, but the above is the more correct way to reduce it for an entire network

I am not scared of SVN - Cutting my hands open on the bleeding edge.
find quote
einhänder Offline
Senior Member
Posts: 169
Joined: Sep 2008
Reputation: 0
Post: #1202
(2012-04-24 11:03)Memphiz Wrote:  guess activating debugging in XBMC system settings would do the trick aswell

I thought that too. But it did not work unfortunately.
I tried to remove the debug logging entry in advancedsettings in order to see if it interferes somehow, but it didn't help. So I went over to append the debug parameter to the bin.
find quote
panic_cpu Offline
Junior Member
Posts: 5
Joined: Apr 2011
Reputation: 0
Post: #1203
Hello to all,
I've been trying to pass 2 channel audio (flac, wav) through my optical output to
my preamp. It seems to be always resampled (the xbmc gain is functioning which
is not the case when output is a multi channel stream. Is that possible or am I just wasting
my (your) time. Unfortunately I do not have an HDMI receiver to test on..........


P.S. hope I am not off topic........
find quote
gnif Offline
Team-XBMC Developer
Posts: 442
Joined: Feb 2008
Reputation: 34
Location: Australia, Katoomba
Post: #1204
@panic_cpu, SPDIF doesnt support sample rates other then 44100hz, and 48000hz, and many AVRs dont support 44100hz, so we lock it to 48000hz.

I am not scared of SVN - Cutting my hands open on the bleeding edge.
find quote
HeresJohnny Offline
Senior Member
Posts: 154
Joined: Mar 2011
Reputation: 2
Location: Germany
Post: #1205
(2012-04-26 20:43)gnif Wrote:  @panic_cpu, SPDIF doesnt support sample rates other then 44100hz, and 48000hz, and many AVRs dont support 44100hz, so we lock it to 48000hz.

This means all CD red book and DTS gets re-sampled, or am I missing something?
find quote
gnif Offline
Team-XBMC Developer
Posts: 442
Joined: Feb 2008
Reputation: 34
Location: Australia, Katoomba
Post: #1206
@HeresJohnny - yes your correct, there is nothing we can do about that, SPDIF has been deprecated by the industry for a reason, if you care for audio quality move to HDMI.

Those that have been having issues with their AVR locking onto DTS-HD MA streams, please give the latest version a go... we believe it is fixed now.

I am not scared of SVN - Cutting my hands open on the bleeding edge.
(This post was last modified: 2012-04-26 22:25 by gnif.)
find quote
HeresJohnny Offline
Senior Member
Posts: 154
Joined: Mar 2011
Reputation: 2
Location: Germany
Post: #1207
@gnif
I understand what you're trying to do and I think it's basically a good thing to make software more compatible. However, I feel it goes a bit against the idea to provide a high quality audio engine and then introduce forced resampling. I'd suggest adding two different output devices, one called "LOCKED SPDIF" where resampling takes places and another simply "SPDIF" where all resolutions possible with this standard are allowed. If you add a checkbox for this, you'd use up space in the GUI which would only be needed for one of several possible output devices. Just my humble opinion, of course Smile
(This post was last modified: 2012-04-26 23:06 by HeresJohnny.)
find quote
panic_cpu Offline
Junior Member
Posts: 5
Joined: Apr 2011
Reputation: 0
Post: #1208
The following is the output of /proc/asound/card0/pcm1p/sub0/hw_params while playing a wav through spdif:
access: RW_INTERLEAVED
format: S32_LE
subformat: STD
channels: 2
rate: 44100 (44100/1)
Does that mean that after been resampled to 48000 by the AudioEngine something is resampling it back to 44100!!!!!!
Corresponding tests with DTS and Dolby Digital show an output of 48000.


Sorry
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,030
Joined: Sep 2011
Reputation: 254
Location: Canada
Post: #1209
@HeresJohnny & panic_cpu - gnif and I spoke about this, and we'll add the option to not resample 44.1->48khz for spdif, but it will be off by default and have to be enabled via advancedsettings as it can cause issues with some receivers. It'll be in a future commit.

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
panic_cpu Offline
Junior Member
Posts: 5
Joined: Apr 2011
Reputation: 0
Post: #1210
For some of us 2 channel playback is of far greater importance than multi channel and unfortunately
HDMI preamps are in the 4 digit value. Thanks and congrats for this amazing software without which
XBMC, as good as it is, cannot be considered complete.
find quote
gnif Offline
Team-XBMC Developer
Posts: 442
Joined: Feb 2008
Reputation: 34
Location: Australia, Katoomba
Post: #1211
@panic_cpu - Hrmm, I may be making assumptions about the code that are inaccurate, haven't slept in 24 hours now Smile. It wont be re-sampling at all if its matched the source sample rate to the output sample rate. I will look into the logic a bit more later and check.

@HeresJohnny - We are looking at an advanced setting to disable this behaviour, but it is on by default so as to protect people's AVRs as we have seen 44.1khz cause AVRs to lockup and in one case the SPDIF interface died completely (yes, poor hardware).

I am not scared of SVN - Cutting my hands open on the bleeding edge.
find quote
ix400 Offline
Senior Member
Posts: 201
Joined: Aug 2010
Reputation: 0
Location: Germany
Post: #1212
Are all these new fixes already implemented in the nightly builds that can be downloaded from the xbmc main page?

Chris

unRAID Server, Pioneer VSX-LX52, Panasonic 65VT30, Marusys VU+ Duo, Zotac AD10
find quote
DDDamian Offline
Team-XBMC Developer
Posts: 3,030
Joined: Sep 2011
Reputation: 254
Location: Canada
Post: #1213
Not until the merge takes place. If review (underway) and testing/bug-fixing go well then we will make the May merge window, meaning nightlies will start to include it mid-May 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
PatrickBateman Offline
Posting Freak
Posts: 1,677
Joined: Mar 2011
Reputation: 17
Location: Another Earth
Post: #1214
(2012-04-27 06:57)DDDamian Wrote:  Not until the merge takes place. If review (underway) and testing/bug-fixing go well then we will make the May merge window, meaning nightlies will start to include it mid-May Smile

That's fantastic news!
Really fantastic development in here of late.

Thanks for the stop gap, and im eagerly looking forward to the main event.
Thanks guys!

Looking forward to testing the new nightly AE Builds Smile

Cheers,
Pat~
find quote
steelman1991 Offline
Donor
Posts: 2,418
Joined: Jan 2009
Reputation: 10
Post: #1215
+1 on that Patrick - congratulations and well done to all - in particular Gnif and DDDamian. Just tried the latest commit and everything is running very smoothly

Onkyo 805 +
ATI 5670

AV sync issues which I had previously on 24fps material appear all but gone and at last I can use my favourite app again.

With the Android app up and running beautifully with my Galaxy SII, everything is looking rosy Big Grin.
find quote
Post Reply