Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebuilding SDL_Sound #36

Closed
moocow1452 opened this issue Nov 12, 2014 · 3 comments
Closed

Rebuilding SDL_Sound #36

moocow1452 opened this issue Nov 12, 2014 · 3 comments

Comments

@moocow1452
Copy link

I'm trying to build SDL_Sound for Android, specifically, a patched model for MKXP, as it's part of the sound system that the project uses along with fluidsynth etc. (https://github.com/Ancurio/mkxp) This project seems to be one of the better ones for working with SDL_Sound, so I'm wondering if I can use these tools to build SDL_Sound for SDL2, include the patches, and have a library to build other projects with.

@gerstrong
Copy link
Collaborator

I don't get it, is this some kind of ad?

Commander Genius has nothing to do with MKXP. What do you want to do
with SDL_Sound anyways. Ever tried SDL_Mixer?

Am 12.11.2014 um 04:51 schrieb moocow1452:

I'm trying to build SDL_Sound for Android, specifically, a patched
model for MKXP, as it's part of the sound system that the project uses
along with fluidsynth etc. (https://github.com/Ancurio/mkxp) This
project seems to be one of the better ones for working with SDL_Sound,
so I'm wondering if I can use these tools to build SDL_Sound for SDL2,
include the patches, and have a library to build other projects with.


Reply to this email directly or view it on GitHub
#36.

@moocow1452
Copy link
Author

No, forgive me for being unclear, but I wanted to know what some of the
build processes were for SDL_Sound since commander genius has Android build
scripts that seem to incorperate it into a bigger SDL.so as opposed to it's
own specifix library. Do any of you happen to know how that works, since
MKXP requires an SDL_Sound built around SDL2, and I was having trouble
doing the work from the Android side of the equation.
On Nov 11, 2014 11:58 PM, "Gerhard Stein" notifications@github.com wrote:

I don't get it, is this some kind of ad?

Commander Genius has nothing to do with MKXP. What do you want to do
with SDL_Sound anyways. Ever tried SDL_Mixer?

Am 12.11.2014 um 04:51 schrieb moocow1452:

I'm trying to build SDL_Sound for Android, specifically, a patched
model for MKXP, as it's part of the sound system that the project uses
along with fluidsynth etc. (https://github.com/Ancurio/mkxp) This
project seems to be one of the better ones for working with SDL_Sound,
so I'm wondering if I can use these tools to build SDL_Sound for SDL2,
include the patches, and have a library to build other projects with.


Reply to this email directly or view it on GitHub
#36.


Reply to this email directly or view it on GitHub
#36 (comment)
.

@pelya
Copy link
Owner

pelya commented Nov 12, 2014

The repository for SDL 1.2 for Android is indeed called commandergenius for
historical reasons, there is another commandergenius repository, with
actual Commander Genius game sources, so a bit of confusion here.

Anyway, it should be enough to copy sdl_sound, flac, ogg, vorbis and mikmod
directories to your repisitory, and edit Android.mk for sdl_sound to remove
SDL version variable. It only uses SDL for basic types, so it should
compile with SDL2. Also, add them to APP_MODULES in your Application.mk,
and don't forget to do System.LoadLibrary() for each of them in correct
order in your Java code.
On Nov 12, 2014 7:05 AM, "moocow1452" notifications@github.com wrote:

No, forgive me for being unclear, but I wanted to know what some of the
build processes were for SDL_Sound since commander genius has Android
build
scripts that seem to incorperate it into a bigger SDL.so as opposed to
it's
own specifix library. Do any of you happen to know how that works, since
MKXP requires an SDL_Sound built around SDL2, and I was having trouble
doing the work from the Android side of the equation.
On Nov 11, 2014 11:58 PM, "Gerhard Stein" notifications@github.com
wrote:

I don't get it, is this some kind of ad?

Commander Genius has nothing to do with MKXP. What do you want to do
with SDL_Sound anyways. Ever tried SDL_Mixer?

Am 12.11.2014 um 04:51 schrieb moocow1452:

I'm trying to build SDL_Sound for Android, specifically, a patched
model for MKXP, as it's part of the sound system that the project uses
along with fluidsynth etc. (https://github.com/Ancurio/mkxp) This
project seems to be one of the better ones for working with SDL_Sound,
so I'm wondering if I can use these tools to build SDL_Sound for SDL2,
include the patches, and have a library to build other projects with.


Reply to this email directly or view it on GitHub
#36.


Reply to this email directly or view it on GitHub
<
https://github.com/pelya/commandergenius/issues/36#issuecomment-62670379>
.


Reply to this email directly or view it on GitHub
#36 (comment)
.

@pelya pelya closed this as completed Jan 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants