Porting XBMC to Mac OS X (Leopard) - Developers only!

  Thread Rating:
  • 3 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
yuvalt Offline
Retired Team-Kodi Member
Posts: 420
Joined: May 2004
Reputation: 0
Location: Israel
Post: #31
elan Wrote:The nice thing about it is that it is portable across a bunch of systems, and it's easy to just play a fixed piece of audio (like a skin sound).

However, Portaudio is very portable too, and would probably serve well, although it would need higher level code to playFile(...), etc. If the lower level Linux stuff had used it instead of ALSA, the port to OS X would have been trivial, and it's even portable to Windows, so it might be a good common layer. I used Portaudio extensively in a former job, and it's a solid bit of code.

I'd love to see a common audio library used for both Linux and OSX. Just make sure that this library can play both on the analog device (2ch) and on the digital device (2ch pcm and passthrough for Dolby Digital/DTS).

-Yuval
find quote
Gamester17 Offline
Team-XBMC Forum Moderator
Posts: 10,523
Joined: Sep 2003
Reputation: 10
Location: Sweden
Question   
Post: #32
yuvalt Wrote:I'd love to see a common audio library used for both Linux and OSX.
...and Windows (Win32)? Confused

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.
find quote
yuvalt Offline
Retired Team-Kodi Member
Posts: 420
Joined: May 2004
Reputation: 0
Location: Israel
Post: #33
Gamester17 Wrote:...and Windows (Win32)? Confused

Yeah.
find quote
elan Offline
Team Plex
Posts: 278
Joined: Dec 2007
Location: Maui
Post: #34
Got TLS stuff working better, networking, photo browsing, and now I'm stuck on an annoying problem where DVDDemuxFFmpeg is having trouble talking to libavformat...strange stuff.

[Image: network.png]

[Image: photos.png]

[Image: movie.png]

[Image: movielist.png]
find quote
yuvalt Offline
Retired Team-Kodi Member
Posts: 420
Joined: May 2004
Reputation: 0
Location: Israel
Post: #35
Excellent progress!
find quote
MDPauley Offline
Senior Member
Posts: 263
Joined: Mar 2004
Reputation: 0
Location: Centreville, Va
Question   
Post: #36
Would these changes also allow XBMC to compile under Tiger?
find quote
griffore Offline
Member
Posts: 75
Joined: Oct 2007
Reputation: 0
Location: Ontario, Canada
Post: #37
awesome work! keep it up! Smile

btw, when is the linux branch moving into the main trunk?
find quote
SandmanCL Offline
Multi-platform XBMC fan
Posts: 613
Joined: Jul 2004
Reputation: 1
Location: San Francisco, CA
Post: #38
elan -- this is looking promising ! Thanks for working on this. I have an old G4 PowerBook through work (hopefully I'll get upgraded to a MacBook Pro after Christmas) that has been a faithful travel companion for years. Running XBMC on a plane will make traveling seem more like being at home Smile
find quote
elan Offline
Team Plex
Posts: 278
Joined: Dec 2007
Location: Maui
Post: #39
MPauley73 Wrote:Would these changes also allow XBMC to compile under Tiger?

In theory, yes. In practice, I've been focusing on Leopard. I'm sure once I merge to svn, other people can complete the work (if any) for Tiger.
find quote
yuvalt Offline
Retired Team-Kodi Member
Posts: 420
Joined: May 2004
Reputation: 0
Location: Israel
Post: #40
griffore Wrote:awesome work! keep it up! Smile

btw, when is the linux branch moving into the main trunk?

There's no plan in the horizon to merge it back. Not sure it's worth the effort as a lot of changes have occured in the linux branch. Vulkanr merges very often so no change that's in the main trunk is missing in the linux branch.

-Yuval
find quote
elan Offline
Team Plex
Posts: 278
Joined: Dec 2007
Location: Maui
Post: #41
I finally got DVDDemuxFFmpeg working, although all the MMX/SSE stuff is turned off because of an ld regression in Leopard. Hence video thumbs now show up, which is kind of cool. Performance is EXCELLENT.

Browsing for photos, videos, and music seems to work well, so now I'm working on get the playing to work. Playing photos and videos should work, but it crashes right at the start, there's something basic wrong but I'm not sure what it is yet.

I'm also having a really hard time building MACDll.so (for paplayer), as I'm not sure what sources were used, and the ones I found don't match up with the calling code.

[Image: videothumbs.png]
find quote
nikothebouriko Offline
Junior Member
Posts: 41
Joined: Oct 2006
Reputation: 0
Location: France
Post: #42
hi

I hope you post the complet command line/add lib for compiling testing ^^

macmini coreduo gma950
macbookpro ati x1600

thx
find quote
elan Offline
Team Plex
Posts: 278
Joined: Dec 2007
Location: Maui
Post: #43
nikothebouriko Wrote:hi

I hope you post the complet command line/add lib for compiling testing ^^

macmini coreduo gma950
macbookpro ati x1600

thx

Once I get basic functionality complete to my satisfaction (and to the satisfaction of the other team members), I'll prepare some sort of release, as well as commit back to the trunk.

It'll be a while, though, there are definitely still big issues to resolve.
find quote
elan Offline
Team Plex
Posts: 278
Joined: Dec 2007
Location: Maui
Post: #44
I got PortAudio integrated, and build a PAplayer for it, and now I can play music just fine, even with cross-fading, works perfectly. No visualizations yet, although supposedly the OpenGL spectrum should work.
find quote
B4tm4n Offline
Senior Member
Posts: 274
Joined: Jan 2005
Reputation: 0
Location: UK
Post: #45
I've been away from the xbmc scene for awhile, since moving to a mac from a pc, but having read this thread I'm looking forward to running xbmc on my macbook.

I really impressed with work you guys do in your free time, so people like me who can't program for toffee can use this wonderful app.

Cheers.
find quote
Post Reply