Re: Possible To Use SDL2 & Android Studio 2 On Linux?

Eric Wing <[email protected]> Mon, 23 Jan 2017 10:22:22 -0800
Newsgroups gmane.comp.lib.sdl
Message-ID <CA+Q62MA3ofHS5k2LXx-v+XpR+JdVte5b_AJF1iqCB7FFWUyC3A@mail.gmail.com>
On 1/23/17, Daniel Gibson <[email protected]> wrote:
> On 23.01.2017 18:44, Eric Wing wrote:
>>
>> I’ve use ALmixer for years on Android. It is used commercially in a
>> few engines, such the Corona SDK, so it has been hammered and debugged
>> throughly on a bunch of specific Android problems. I finally have a
>> native OpenSL ES backend decoder for it because the codec dependency
>> hell and bloat. (All the dependencies are a PITA and then there are
>> the potential patent issues on some codecs.) SDL_mixer probably works
>> too, though I can’t attest to how much of a pain it is to build and
>> how many of the Android issues have been worked through. (By Android
>> issues, it can be a wide range from manufacturer specific issues to
>> Android version specific issues, to general Android issues.)
>>
>
> With "I've used" you mean "I wrote it"? ;-)
> Didn't know about ALmixer before, looks pretty good!
>
> One thing I wondered about is: You mention iOS support, but the license
> is LGPL - isn't LGPL incompatible with iOS?
> At least I think that this is a reason openal-soft isn't available on iOS.

So Apple ships their own OpenAL version with Mac and iOS, so there are
no license issues with that.

ALmixer was originally written in 2002-ish, back when SDL was LGPL. It
seemed like a good idea at the time. Oops.

I've been going through a relicensing thing for awhile now. I haven't
promoted it mostly because I'm not fully done, but basically I'm
moving towards zlib like SDL is now.

So for iOS, as long as you use the Core Audio decoder (default for Mac
& iOS), you are good (since I wrote that and rewrote the shim
interfaces for it...don't use SDL_sound).

The .wav and .ogg codec I pulled from SDL_sound which is LGPL which is
why the migration isn't complete.

I have native Android OpenSL ES, Windows Media Foundation, and Apple
Core Audio decoders, so I can mostly avoid these codecs except on
Linux, which is already a bag of LGPL and dynamic linking, so it's not
a big problem there.

Anyway, if you want to use ALmixer on iOS with the Core Audio codec, I
won't go after you. :)

(If somebody wants to help me and get a zlib-like implementation for
these 2 codecs, I would appreciate it. This could either be a rewrite,
or Ryan Gordon determining that those codec parts were written by him
and relicensing it under zlib. I've been meaning to follow up with him
about this, but it keeps falling to the bottom of my list.)

Thanks,
Eric
_______________________________________________
SDL mailing list
[email protected]
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org