SDL_mixer 2.0.0 Release Candidate 1

http://www.libsdl.org/tmp/SDL_mixer/

Please try it out and report issues (and fixes!) on bugzilla:
http://bugzilla.libsdl.org/

It includes support for iOS and Android.

Cheers!

This has been updated with source to the external libraries and minor
project tweaks.

Cheers!On Sun, Jun 2, 2013 at 12:46 AM, Sam Lantinga <@slouken> wrote:

http://www.libsdl.org/tmp/SDL_mixer/

Please try it out and report issues (and fixes!) on bugzilla:
http://bugzilla.libsdl.org/

It includes support for iOS and Android.

Cheers!

A quick test shows it compiles via mingw, and LFS Linux. I also linked it
to a program I have in development for linux, mingw64 (and -m32), as well
as 32/64 bit gcc 4.8.0 cross to osx toolchain (untested running on
mac/windows, but compiling works)On Fri, Jun 7, 2013 at 12:01 AM, Sam Lantinga wrote:

This has been updated with source to the external libraries and minor
project tweaks.

Cheers!

On Sun, Jun 2, 2013 at 12:46 AM, Sam Lantinga wrote:

http://www.libsdl.org/tmp/SDL_mixer/

Please try it out and report issues (and fixes!) on bugzilla:
http://bugzilla.libsdl.org/

It includes support for iOS and Android.

Cheers!


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


Nathan Coulson (conathan)

Location: British Columbia, Canada
Timezone: PST (-8)
Webpage: http://www.nathancoulson.com

Sorry for a super idiotic question, list, but just want to make sure I
understand.

When doing Android builds:

If you want ogg support in SDL_Mixer, your options are using
libogg/libvorbis OR libtremor. Is that correct?

If I’m to go with tremor, what are my steps, exactly? I’ve copied
tremor from xiph.org to jni/tremor, but it doesn’t seem to be included
into the build? Is there a build flag or option I have to set?

That release of tremor seems to be missing something too. I’ve seen
other SDL2 projects using some different version of it, one that
contains “ogg.h” and what not. If that is so, where do they get this
"other" tremor?

Again, sorry for such a newbie question, it’s just SDL libs always hid
their dependencies from me (thanks to *nix package managers, dynamic
loading and simple “dll X missing, put dll X here” on windows). Which
was a great thing :slight_smile:

If anyone could drop a quick hint, that would be much appreciated.

Thanks!On Sun, 2 Jun 2013 00:46:26 -0700 Sam Lantinga wrote:

http://www.libsdl.org/tmp/SDL_mixer/

Please try it out and report issues (and fixes!) on bugzilla:
http://bugzilla.libsdl.org/

It includes support for iOS and Android.

Cheers!


driedfruit

2013/6/8 Driedfruit

Sorry for a super idiotic question, list, but just want to make sure I
understand.

When doing Android builds:

If you want ogg support in SDL_Mixer, your options are using
libogg/libvorbis OR libtremor. Is that correct?

If I’m to go with tremor, what are my steps, exactly? I’ve copied
tremor from xiph.org to jni/tremor, but it doesn’t seem to be included
into the build? Is there a build flag or option I have to set?

What I do to use Tremor on iOS and Android, is do the
autogen.sh/configure/make process typical of Unix. You just need to set up
a few environment variables properly for cross compiling (you’ll have to
google those or take a look at the link I provide below), the rest of the
process works out of the box IIRC.
I also compile SDL_mixer using the same process, passing the configure
parameters “–enable-music-ogg-tremor --disable-music-ogg-shared”, and link
the libvorbisidec.a library that Tremor produces statically.

Most of the scripts that do the building you can peek at here:
https://bitbucket.org/gabomdq/ignifuga/src/8c4c6dd6431bc1a2a6f13af5cea6ffe54a34d0a4/tools/modules/sdl?at=default

Gabriel.

If you’re using Xcode and the release candidate of SDL_mixer 2.0, libtremor
is built in and you don’t have to do anything.

Cheers!On Sat, Jun 8, 2013 at 4:34 AM, Driedfruit wrote:

Sorry for a super idiotic question, list, but just want to make sure I
understand.

When doing Android builds:

If you want ogg support in SDL_Mixer, your options are using
libogg/libvorbis OR libtremor. Is that correct?

If I’m to go with tremor, what are my steps, exactly? I’ve copied
tremor from xiph.org to jni/tremor, but it doesn’t seem to be included
into the build? Is there a build flag or option I have to set?

That release of tremor seems to be missing something too. I’ve seen
other SDL2 projects using some different version of it, one that
contains “ogg.h” and what not. If that is so, where do they get this
"other" tremor?

Again, sorry for such a newbie question, it’s just SDL libs always hid
their dependencies from me (thanks to *nix package managers, dynamic
loading and simple “dll X missing, put dll X here” on windows). Which
was a great thing :slight_smile:

If anyone could drop a quick hint, that would be much appreciated.

Thanks!

On Sun, 2 Jun 2013 00:46:26 -0700 Sam Lantinga <@slouken> wrote:

http://www.libsdl.org/tmp/SDL_mixer/

Please try it out and report issues (and fixes!) on bugzilla:
http://bugzilla.libsdl.org/

It includes support for iOS and Android.

Cheers!


driedfruit


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

What I do to use Tremor on iOS and Android, is do the
autogen.sh/configure/make process typical of Unix.

Ahha. Ok, I’ll go that way, but I’m feeling uneasy about it. It
requires two development environments instead of one.

If anyone is managing libtremor without Unixy build steps, but with
ndk-build alone, please chime in.

Most of the scripts that do the building you can peek at

Ok, that looks very helpfull, thank you!On Sat, 8 Jun 2013 12:53:06 -0300 Gabriel Jacobo wrote:


driedfruit

If you’re using Xcode and the release candidate of SDL_mixer 2.0,
libtremor is built in and you don’t have to do anything.

I am using the RC1 (hence the subject line), but not Xcode, it’s a
linux box.On Sat, 8 Jun 2013 09:37:09 -0700 Sam Lantinga wrote:


driedfruit

Yes, if you build with the included Android.mk, you don’t need to do
anything, libtremor is already included.

For example, here’s my Equate Android directory:
new-host-8:android-project slouken$ pwd
/Users/slouken/projects/Equate/android-project
new-host-8:android-project slouken$ ls -l
total 56
-rw-r–r-- 1 slouken staff 1104 Nov 4 2012 AndroidManifest.xml
-rw-r–r-- 1 slouken staff 698 Oct 31 2012 ant.properties
lrwxr-xr-x 1 slouken staff 7 Nov 2 2012 assets -> …/Data
drwxr-xr-x 17 slouken staff 578 May 18 12:43 bin
-rw-r–r-- 1 slouken staff 3923 Oct 31 2012 build.xml
drwxr-xr-x 4 slouken staff 136 May 16 00:22 gen
drwxr-xr-x 10 slouken staff 340 Jun 1 20:30 jni
drwxr-xr-x 3 slouken staff 102 May 16 00:22 libs
-rw-r–r-- 1 slouken staff 426 Oct 31 2012 local.properties
drwxr-xr-x 3 slouken staff 102 May 16 00:22 obj
-rw-r–r-- 1 slouken staff 781 Oct 31 2012 proguard-project.txt
-rw-r–r-- 1 slouken staff 563 Mar 31 02:14 project.properties
drwxr-xr-x 8 slouken staff 272 Nov 1 2012 res
drwxr-xr-x 4 slouken staff 136 Oct 31 2012 src
new-host-8:android-project slouken$ ls -l jni
total 56
-rw-r–r-- 1 slouken staff 37 Oct 31 2012 Android.mk
-rw-r–r-- 1 slouken staff 156 Nov 2 2012 Application.mk
lrwxr-xr-x 1 slouken staff 27 Nov 1 2012 SDL ->
/Users/slouken/projects/SDL
lrwxr-xr-x 1 slouken staff 33 Jan 18 21:57 SDL_mixer ->
/Users/slouken/projects/SDL_mixer
lrwxr-xr-x 1 slouken staff 31 Nov 1 2012 SDL_ttf ->
/Users/slouken/projects/SDL_ttf
lrwxr-xr-x 1 slouken staff 35 Jun 1 20:29 mikmod ->
SDL_mixer/external/libmikmod-3.1.12
lrwxr-xr-x 1 slouken staff 31 Jun 1 20:30 smpeg2 ->
SDL_mixer/external/smpeg2-2.0.0
drwxr-xr-x 3 slouken staff 102 May 15 23:47 src

Notice that mikmod and smpeg2 are included as separate shared libraries to
comply with the LGPL license.On Sun, Jun 9, 2013 at 10:26 AM, Driedfruit wrote:

On Sat, 8 Jun 2013 12:53:06 -0300 Gabriel Jacobo wrote:

What I do to use Tremor on iOS and Android, is do the
autogen.sh/configure/make process typical of Unix.

Ahha. Ok, I’ll go that way, but I’m feeling uneasy about it. It
requires two development environments instead of one.

If anyone is managing libtremor without Unixy build steps, but with
ndk-build alone, please chime in.

Most of the scripts that do the building you can peek at

Ok, that looks very helpfull, thank you!


driedfruit


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Yes, if you build with the included Android.mk, you don’t need to do
anything, libtremor is already included.

That’s fantastic!

For example, here’s my Equate Android directory:

I also had to uncomment System.loadLibrary("SDL2_mixer") in the
"SDLActivity.java" file. After that, it worked out of the box.

Thanks!On Sun, 9 Jun 2013 11:35:09 -0700 Sam Lantinga wrote:


driedfruit

You’re welcome! :)On Thu, Jun 13, 2013 at 11:02 AM, Driedfruit wrote:

On Sun, 9 Jun 2013 11:35:09 -0700 Sam Lantinga <@slouken> wrote:

Yes, if you build with the included Android.mk, you don’t need to do
anything, libtremor is already included.

That’s fantastic!

For example, here’s my Equate Android directory:

I also had to uncomment System.loadLibrary("SDL2_mixer") in the
"SDLActivity.java" file. After that, it worked out of the box.

Thanks!


driedfruit


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org