AudioEngine branch - DO NOT REQUEST BINARY BUILDS

  Thread Rating:
  • 15 Votes - 4.47 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
garyi Offline
Posting Freak
Posts: 1,196
Joined: Oct 2008
Reputation: 0
Post: #16
gnif. The output of audio from a mac is determined by the OS, which is set via audio/midi applications in the utilities folder. If I set it to say output at 44100 at 24bit then that is what will be outputed, if I play a higher rated audio file then it will be downsampled to the audio preference.

A number of applications on the market now, including ammara and pure music can change these settings.

In other words unless you ensure this happens (or someone does on the OSX branch) then what comes out of the mac won't necessarily be what you think you specified.
find quote
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,508
Joined: Feb 2008
Reputation: 64
Post: #17
gnif, I suggest spending some time here http://developer.apple.com/mac/library/d...ction.html

I know little about CoreAudio, I spend my time with video decoding and rendering, there's lot to be done there so aside from testing, I won't be much help with porting AE to OSX. Phi handled the audio under OSX. One thing to watch out for, CoreAudio API is dependent on which SDK you target. The current SDk we target is 10.4.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find quote
ashlar Offline
Donor
Posts: 2,114
Joined: Mar 2006
Reputation: 27
Post: #18
gnif, I can only donate. I don't have extra HDMI equipment available. Would donations directly help you somehow?
find quote
gnif Offline
Team-XBMC Developer
Posts: 442
Joined: Feb 2008
Reputation: 34
Location: Australia, Katoomba
Post: #19
Hi ashlar,

Please send any and all donations to me personally via my source-forge account here:
https://sourceforge.net/donate/?user_id=2785077

I am not scared of SVN - Cutting my hands open on the bleeding edge.
(This post was last modified: 2010-10-12 14:39 by gnif.)
find quote
cowbalt Offline
Junior Member
Posts: 44
Joined: Dec 2009
Reputation: 0
Post: #20
Good to see you guys are starting to clean and up working on fixes rather than adding much more features.

one little question....does this mean that sound settings in xbmc will be more compatible to most systems in the future? I still see a lot systems that require tuning of the asound.conf (e.g. tripple outputting sound to all channels or adding an asound.conf for outputting menu sounds).

So I guess it will be more user friendly in the near future?
find quote
Goga777 Offline
Senior Member
Posts: 221
Joined: Jul 2009
Reputation: 0
Post: #21
when are you planing to merge your AE branch into trunk ?
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #22
ffs! when it's done.
find quote
gnif Offline
Team-XBMC Developer
Posts: 442
Joined: Feb 2008
Reputation: 34
Location: Australia, Katoomba
Post: #23
Yes, it means that asound should not need touching anymore unless custom requirements are needed, such as outputting to more then one sound card.

@goga777 - Have you even tried AE yet? No pulse, win32, osx support, passthrough broken, ac3 transcode broken, paplayer seek broken.... it will be merged after these things are fixed, and it has been extensively tested.

I am not scared of SVN - Cutting my hands open on the bleeding edge.
(This post was last modified: 2010-09-02 02:59 by gnif.)
find quote
erhnam Offline
Team-XBMC Live Developer
Posts: 673
Joined: May 2009
Reputation: 2
Location: The Netherlands
Post: #24
Noticed a lot of work. What's the latest status? Smile
find quote
gnif Offline
Team-XBMC Developer
Posts: 442
Joined: Feb 2008
Reputation: 34
Location: Australia, Katoomba
Post: #25
well, most of paplayer's codecs are functioning again, paplayer is now bit perfect. Also tracked down some memory leaks, etc... and patched in most of the passthrough layer, if you want more details have a look at the changelog.

I am not scared of SVN - Cutting my hands open on the bleeding edge.
find quote
ArtVandelae Offline
Senior Member
Posts: 108
Joined: Nov 2007
Reputation: 0
Location: Cleveland, OH
Post: #26
I've been playing with this branch a bit and have audio playing under Windows with a WASAPI sink I wrote. It works in both shared and exclusive mode (selected with a boolean toggle in the settings menu) so it should be the only needed sink for Vista/7 systems and thus should avoid polluting the selection list with overly long and duplicate device names.

I've also made some small changes needed to compile under Windows. I'm not sure if you are interested in seeing patches at this point or if you would prefer to wait until development settles down.
find quote
gnif Offline
Team-XBMC Developer
Posts: 442
Joined: Feb 2008
Reputation: 34
Location: Australia, Katoomba
Post: #27
Wow, great work ArtVandelae, nice to know that someone else has had success with AE Smile. Once I get the passthrough side sorted id love to see your patches. Thanks for the assist yet again

I am not scared of SVN - Cutting my hands open on the bleeding edge.
find quote
erhnam Offline
Team-XBMC Live Developer
Posts: 673
Joined: May 2009
Reputation: 2
Location: The Netherlands
Post: #28
gnif,

Luigi and I are trying to find a way to auto configure alsa in a way that all devices will be used (digital, sp/dif and hdmi). Do you have any thoughts on this or perhaps you can implement something that makes it very easy to output to multiple audio devices. Hope you can help!
find quote
gnif Offline
Team-XBMC Developer
Posts: 442
Joined: Feb 2008
Reputation: 34
Location: Australia, Katoomba
Post: #29
No, multiple output to multiple cards is a technical nightmare, there is NO way to make this work properly, just achieving low latency on one output is hard, let alone on multiple. And then keeping them in sync would be an even bigger nightmare, the way audio hardware is designed makes this infeasible, and out of the scope of XBMC.

I am not scared of SVN - Cutting my hands open on the bleeding edge.
find quote
topfs2 Offline
Team-Kodi Developer
Posts: 4,063
Joined: Dec 2007
Reputation: 10
Post: #30
And Im pretty sure pulseaudio already is able to do that so if you need it use pulseaudio Smile

If you have problems please read this before posting

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

[Image: badge.gif]

"Well Im gonna download the code and look at it a bit but I'm certainly not a really good C/C++ programer but I'd help as much as I can, I mostly write in C#."
find quote
Post Reply