Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: BASS vs. SDL Mixer  (Read 9647 times)

0 Members and 2 Guests are viewing this topic.

Sothoth

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 29
    • View Profile
BASS vs. SDL Mixer
« on: April 27, 2015, 12:30:15 PM »

Hi!

I wonder if I could compile WME Lite to use SDL mixer instead of BASS library and in which platforms will be functional.

Any clues?

Thanks in advance!
Logged
Sorry for my poor English! :(

HCDaniel

  • Regular poster
  • ***
  • Karma: 8
  • Offline Offline
  • Posts: 168
    • View Profile
Re: BASS vs. SDL Mixer
« Reply #1 on: April 28, 2015, 08:44:30 AM »

Hi!

I wonder if I could compile WME Lite to use SDL mixer instead of BASS library and in which platforms will be functional.

Any clues?

Thanks in advance!

I'm experimenting with a wmelite fork here:

https://bitbucket.org/hcdaniel/wmelite-rapaki-edition

and it has a compile time option to use SDL mixer instead of BASS. The SDL mixer has some patches (its not the "original one" anymore) which can be found here:

https://bitbucket.org/hcdaniel/wmelite-dependencies-for-linux-and-android/src/41d9d0b0857f59ef3f2b369b6f4386475eeeb38f/dependencies/SDL_mixer/?at=default

I did some spot checks on Windows, Linux and Android. Most of the functionality is there, but there will be bugs.

I'll clean it up and merge it into the original WME lite eventually.

Unfortunately I do not know how I can compile for Mac OS and iOS. No doubt that I won't have a chance to test things without the hardware, but if anybody knows how I can test that "things compile" without having a Mac, that would be great.
Logged

Sothoth

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 29
    • View Profile
Re: BASS vs. SDL Mixer
« Reply #2 on: April 29, 2015, 11:56:27 AM »

Hi!

I wonder if I could compile WME Lite to use SDL mixer instead of BASS library and in which platforms will be functional.

Any clues?

Thanks in advance!

I'm experimenting with a wmelite fork here:

https://bitbucket.org/hcdaniel/wmelite-rapaki-edition

and it has a compile time option to use SDL mixer instead of BASS. The SDL mixer has some patches (its not the "original one" anymore) which can be found here:

https://bitbucket.org/hcdaniel/wmelite-dependencies-for-linux-and-android/src/41d9d0b0857f59ef3f2b369b6f4386475eeeb38f/dependencies/SDL_mixer/?at=default

I did some spot checks on Windows, Linux and Android. Most of the functionality is there, but there will be bugs.

I'll clean it up and merge it into the original WME lite eventually.

Unfortunately I do not know how I can compile for Mac OS and iOS. No doubt that I won't have a chance to test things without the hardware, but if anybody knows how I can test that "things compile" without having a Mac, that would be great.

That sounds great, Daniel! I have a Mac, so if you send me the code, I'd try to compile it myself and tell you if it works ;).
Logged
Sorry for my poor English! :(

HCDaniel

  • Regular poster
  • ***
  • Karma: 8
  • Offline Offline
  • Posts: 168
    • View Profile
Re: BASS vs. SDL Mixer
« Reply #3 on: April 30, 2015, 08:05:32 AM »

I hope you know how to compile code on a Mac, because I don't :(

At first you can try to compile the modified SDL mixer, just clone the repo here

https://bitbucket.org/hcdaniel/wmelite-dependencies-for-linux-and-android/overview

or download it here:

https://bitbucket.org/hcdaniel/wmelite-dependencies-for-linux-and-android/downloads

(download repository)

Then go into this directory:

dependencies/SDL_mixer/jni/

and try to compile using Xcode and the project files there.

If that works, combine the result with the dependencies found here:

https://bitbucket.org/MnemonicWME/wmelite/downloads

and then try to compile my wmelite fork:

https://bitbucket.org/hcdaniel/wmelite-rapaki-edition/overview

(again, clone the repo or download the code snapshot).

I don't know how to work with Xcode, so I cannot help you there. Maybe somebody else can if you run into problems.

Good luck!
Logged

Sothoth

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 29
    • View Profile
Re: BASS vs. SDL Mixer
« Reply #4 on: May 01, 2015, 09:47:56 PM »

Great! I'll try it and I'll tell you :).

Cheers.
Logged
Sorry for my poor English! :(
 

Page created in 0.031 seconds with 19 queries.