SDL_mixer on Android |
Alexey Petruchik
Guest
|
Maybe it is a good idea to provide prebuilt android binaries for any
SDL_mixer dependencies (libtremor, libmikmod) just like we have prebuilt frameworks for OS X in Xcode/Frameworks? On Thu, Mar 21, 2013 at 8:38 PM, Gabriele Greco wrote:
SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||
|
SDL_mixer on Android |
Alexey Petruchik
Guest
|
Can somebody really experienced with SDL_mixer on android handle this?
It will save a lot of time for all others On Mon, Apr 8, 2013 at 2:52 PM, Alexey Petruchik wrote:
SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||||
|
SDL_mixer on Android |
Alexey Petruchik
Guest
|
While compiling libtremor for android I'm getting this error:
jni/tremor/misc.h:57:7: error: redefinition of 'union magic' jni/tremor/misc.h:47:7: note: originally defined here It seems that BYTE_ORDER is not defined and union magic is defined twice: #if BYTE_ORDER==LITTLE_ENDIAN union magic { struct { ogg_int32_t lo; ogg_int32_t hi; } halves; ogg_int64_t whole; }; #endif #if BYTE_ORDER==BIG_ENDIAN union magic { struct { ogg_int32_t hi; ogg_int32_t lo; } halves; ogg_int64_t whole; }; #endif Where BYTE_ORDER should be defined for libtremor? Can someone help me with this? Thanks in advance. Regards, Alexey On Mon, Apr 8, 2013 at 3:22 PM, Alexey Petruchik wrote:
SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||||||
|
SDL_mixer on Android |
Jonny D
|
I have this at line 46 of misc.h:
#ifndef BYTE_ORDER #warning "Platform doesn't define BYTE_ORDER" #define LITTLE_ENDIAN 1234 #define BIG_ENDIAN 4321 #if (defined(__i386__) || defined(__i386)) || \ defined(__ia64__) || defined(WIN32) || \ (defined(__alpha__) || defined(__alpha)) || \ defined(__arm__) || \ (defined(__mips__) && defined(__MIPSEL__)) || \ defined(__SYMBIAN32__) || \ defined(__x86_64__) || \ defined(__LITTLE_ENDIAN__) #define BYTE_ORDER LITTLE_ENDIAN #else #define BYTE_ORDER BIG_ENDIAN #endif #endif Jonny D On Fri, Apr 12, 2013 at 9:39 AM, Alexey Petruchik wrote:
|
|||||||||||||||||||||
|
SDL_mixer on Android |
Alexey Petruchik
Guest
|
Hmmm, you probably have some kind of patched libtremor. Just look at
misc.h in seems-to-be-official repo: http://svn.xiph.org/trunk/Tremor/misc.h On Fri, Apr 12, 2013 at 4:51 PM, Jonathan Dearborn wrote:
SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||||||||||
|
SDL_mixer on Android |
Alexey Petruchik
Guest
|
Where did you got your libtremor sources btw?
On Fri, Apr 12, 2013 at 4:59 PM, Alexey Petruchik wrote:
SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||||||||||||
|
SDL_mixer on Android |
Jonny D
|
I'm not sure where I got them, actually. :-/
Jonny D On Fri, Apr 12, 2013 at 10:07 AM, Jonathan Dearborn wrote:
|
|||||||||||||||||||||||||||
|
SDL_mixer on Android |
Jonny D
|
Yep, that's right.
Jonny D On Fri, Apr 12, 2013 at 9:59 AM, Alexey Petruchik wrote:
|
|||||||||||||||||||||||||
|
SDL_mixer on Android |
Gabriele Greco
Guest
|
On Fri, Apr 12, 2013 at 4:10 PM, Jonathan Dearborn wrote:
Please note that there are a few really outdated libtremor source trees around in the net. Try to use the xiph.org one. At least a pair of them that I've found miss important features (there is a version without the vorbisfile.h header and a version that crashes with SDL since it has a bug in the ov_close() implementation). -- Bye, Gabry |
|||||||||||||
|
SDL_mixer on Android |
Jonny D
|
I probably got one of those, which is why I needed libogg (for the vorbisfile.h).
Jonny D On Mon, Apr 15, 2013 at 7:06 AM, Gabriele Greco wrote:
|
|||||||||||||||
|