SDL Forum Index
SDL
Simple DirectMedia Layer Forums
Reply to topic
SDL_mixer on Android
Alexey Petruchik
Guest

Reply with quote
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:
Quote:


On Thu, Mar 21, 2013 at 2:03 PM, Alexey Petruchik wrote:
Quote:

Thank you for your response. I'll look through files you attached in
next few days. But in my opinion there should be some README.android
in SDL_mixer repo for such cases.


Just to add that libtremor does *NOT* need libogg, it implements vorbis and
vorbisfile, that is all SDL_Mixer needs, at least in the newest version (do
not use the bugged version distributed with cocos2d).

HG versions of SDL_mixer have an Android.mk, don't know about the older
ones, but I'd stick with the HG one since ideally you should use the latest
SDL HG (and I suggest so, mostly for the new touch api that does not need
SDL_GetTouch() ).

If you want to see an example of SDL_mixer on android you can download the
SVN of my soccer game (Eat the Whistle,
https://play.google.com/store/apps/details?id=org.ggsoft.etw ), that is
located here:

http://etw.svn.sourceforge.net/viewvc/etw/trunk/

If it can be useful to you, I've included in the SVN also a full tree of
libtremor, with a premade Android.mk.

--
Bye,
Gabry


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL_mixer on Android
Alexey Petruchik
Guest

Reply with quote
Can somebody really experienced with SDL_mixer on android handle this?
It will save a lot of time for all others Wink

On Mon, Apr 8, 2013 at 2:52 PM, Alexey Petruchik wrote:
Quote:
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:
Quote:


On Thu, Mar 21, 2013 at 2:03 PM, Alexey Petruchik wrote:
Quote:

Thank you for your response. I'll look through files you attached in
next few days. But in my opinion there should be some README.android
in SDL_mixer repo for such cases.


Just to add that libtremor does *NOT* need libogg, it implements vorbis and
vorbisfile, that is all SDL_Mixer needs, at least in the newest version (do
not use the bugged version distributed with cocos2d).

HG versions of SDL_mixer have an Android.mk, don't know about the older
ones, but I'd stick with the HG one since ideally you should use the latest
SDL HG (and I suggest so, mostly for the new touch api that does not need
SDL_GetTouch() ).

If you want to see an example of SDL_mixer on android you can download the
SVN of my soccer game (Eat the Whistle,
https://play.google.com/store/apps/details?id=org.ggsoft.etw ), that is
located here:

http://etw.svn.sourceforge.net/viewvc/etw/trunk/

If it can be useful to you, I've included in the SVN also a full tree of
libtremor, with a premade Android.mk.

--
Bye,
Gabry


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL_mixer on Android
Alexey Petruchik
Guest

Reply with quote
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:
Quote:
Can somebody really experienced with SDL_mixer on android handle this?
It will save a lot of time for all others Wink

On Mon, Apr 8, 2013 at 2:52 PM, Alexey Petruchik wrote:
Quote:
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:
Quote:


On Thu, Mar 21, 2013 at 2:03 PM, Alexey Petruchik wrote:
Quote:

Thank you for your response. I'll look through files you attached in
next few days. But in my opinion there should be some README.android
in SDL_mixer repo for such cases.


Just to add that libtremor does *NOT* need libogg, it implements vorbis and
vorbisfile, that is all SDL_Mixer needs, at least in the newest version (do
not use the bugged version distributed with cocos2d).

HG versions of SDL_mixer have an Android.mk, don't know about the older
ones, but I'd stick with the HG one since ideally you should use the latest
SDL HG (and I suggest so, mostly for the new touch api that does not need
SDL_GetTouch() ).

If you want to see an example of SDL_mixer on android you can download the
SVN of my soccer game (Eat the Whistle,
https://play.google.com/store/apps/details?id=org.ggsoft.etw ), that is
located here:

http://etw.svn.sourceforge.net/viewvc/etw/trunk/

If it can be useful to you, I've included in the SVN also a full tree of
libtremor, with a premade Android.mk.

--
Bye,
Gabry


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL_mixer on Android
Jonny D


Joined: 12 Sep 2009
Posts: 754
Reply with quote
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:
Quote:
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:
Quote:
Can somebody really experienced with SDL_mixer on android handle this?
It will save a lot of time for all others Wink

On Mon, Apr 8, 2013 at 2:52 PM, Alexey Petruchik wrote:
Quote:
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:
Quote:


On Thu, Mar 21, 2013 at 2:03 PM, Alexey Petruchik wrote:
Quote:

Thank you for your response. I'll look through files you attached in
next few days. But in my opinion there should be some README.android
in SDL_mixer repo for such cases.


Just to add that libtremor does *NOT* need libogg, it implements vorbis and
vorbisfile, that is all SDL_Mixer needs, at least in the newest version (do
not use the bugged version distributed with cocos2d).

HG versions of SDL_mixer have an Android.mk, don't know about the older
ones, but I'd stick with the HG one since ideally you should use the latest
SDL HG (and I suggest so, mostly for the new touch api that does not need
SDL_GetTouch() ).

If you want to see an example of SDL_mixer on android you can download the
SVN of my soccer game (Eat the Whistle,
https://play.google.com/store/apps/details?id=org.ggsoft.etw ), that is
located here:

http://etw.svn.sourceforge.net/viewvc/etw/trunk/

If it can be useful to you, I've included in the SVN also a full tree of
libtremor, with a premade Android.mk.

--
Bye,
 Gabry


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


View user's profileSend private messageVisit poster's website
SDL_mixer on Android
Alexey Petruchik
Guest

Reply with quote
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:
Quote:
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:
Quote:

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:
Quote:
Can somebody really experienced with SDL_mixer on android handle this?
It will save a lot of time for all others Wink

On Mon, Apr 8, 2013 at 2:52 PM, Alexey Petruchik
wrote:
Quote:
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:
Quote:


On Thu, Mar 21, 2013 at 2:03 PM, Alexey Petruchik
wrote:
Quote:

Thank you for your response. I'll look through files you attached in
next few days. But in my opinion there should be some README.android
in SDL_mixer repo for such cases.


Just to add that libtremor does *NOT* need libogg, it implements
vorbis and
vorbisfile, that is all SDL_Mixer needs, at least in the newest
version (do
not use the bugged version distributed with cocos2d).

HG versions of SDL_mixer have an Android.mk, don't know about the
older
ones, but I'd stick with the HG one since ideally you should use the
latest
SDL HG (and I suggest so, mostly for the new touch api that does not
need
SDL_GetTouch() ).

If you want to see an example of SDL_mixer on android you can download
the
SVN of my soccer game (Eat the Whistle,
https://play.google.com/store/apps/details?id=org.ggsoft.etw ), that
is
located here:

http://etw.svn.sourceforge.net/viewvc/etw/trunk/

If it can be useful to you, I've included in the SVN also a full tree
of
libtremor, with a premade Android.mk.

--
Bye,
Gabry


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL_mixer on Android
Alexey Petruchik
Guest

Reply with quote
Where did you got your libtremor sources btw?

On Fri, Apr 12, 2013 at 4:59 PM, Alexey Petruchik wrote:
Quote:
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:
Quote:
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:
Quote:

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:
Quote:
Can somebody really experienced with SDL_mixer on android handle this?
It will save a lot of time for all others Wink

On Mon, Apr 8, 2013 at 2:52 PM, Alexey Petruchik
wrote:
Quote:
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:
Quote:


On Thu, Mar 21, 2013 at 2:03 PM, Alexey Petruchik
wrote:
Quote:

Thank you for your response. I'll look through files you attached in
next few days. But in my opinion there should be some README.android
in SDL_mixer repo for such cases.


Just to add that libtremor does *NOT* need libogg, it implements
vorbis and
vorbisfile, that is all SDL_Mixer needs, at least in the newest
version (do
not use the bugged version distributed with cocos2d).

HG versions of SDL_mixer have an Android.mk, don't know about the
older
ones, but I'd stick with the HG one since ideally you should use the
latest
SDL HG (and I suggest so, mostly for the new touch api that does not
need
SDL_GetTouch() ).

If you want to see an example of SDL_mixer on android you can download
the
SVN of my soccer game (Eat the Whistle,
https://play.google.com/store/apps/details?id=org.ggsoft.etw ), that
is
located here:

http://etw.svn.sourceforge.net/viewvc/etw/trunk/

If it can be useful to you, I've included in the SVN also a full tree
of
libtremor, with a premade Android.mk.

--
Bye,
Gabry


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
SDL_mixer on Android
Jonny D


Joined: 12 Sep 2009
Posts: 754
Reply with quote
I'm not sure where I got them, actually. :-/

Jonny D



On Fri, Apr 12, 2013 at 10:07 AM, Jonathan Dearborn wrote:
Quote:
Yep, that's right.

Jonny D



On Fri, Apr 12, 2013 at 9:59 AM, Alexey Petruchik wrote:
Quote:
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:
Quote:
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:
Quote:

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:
Quote:
Can somebody really experienced with SDL_mixer on android handle this?
It will save a lot of time for all others Wink

On Mon, Apr 8, 2013 at 2:52 PM, Alexey Petruchik
wrote:
Quote:
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:
Quote:


On Thu, Mar 21, 2013 at 2:03 PM, Alexey Petruchik
wrote:
Quote:

Thank you for your response. I'll look through files you attached in
next few days. But in my opinion there should be some README.android
in SDL_mixer repo for such cases.


Just to add that libtremor does *NOT* need libogg, it implements
vorbis and
vorbisfile, that is all SDL_Mixer needs, at least in the newest
version (do
not use the bugged version distributed with cocos2d).

HG versions of SDL_mixer have an Android.mk, don't know about the
older
ones, but I'd stick with the HG one since ideally you should use the
latest
SDL HG (and I suggest so, mostly for the new touch api that does not
need
SDL_GetTouch() ).

If you want to see an example of SDL_mixer on android you can download
the
SVN of my soccer game (Eat the Whistle,
https://play.google.com/store/apps/details?id=org.ggsoft.etw ), that
is
located here:

http://etw.svn.sourceforge.net/viewvc/etw/trunk/

If it can be useful to you, I've included in the SVN also a full tree
of
libtremor, with a premade Android.mk.

--
Bye,
 Gabry


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org







View user's profileSend private messageVisit poster's website
SDL_mixer on Android
Jonny D


Joined: 12 Sep 2009
Posts: 754
Reply with quote
Yep, that's right.

Jonny D



On Fri, Apr 12, 2013 at 9:59 AM, Alexey Petruchik wrote:
Quote:
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:
Quote:
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:
Quote:

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:
Quote:
Can somebody really experienced with SDL_mixer on android handle this?
It will save a lot of time for all others Wink

On Mon, Apr 8, 2013 at 2:52 PM, Alexey Petruchik
wrote:
Quote:
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:
Quote:


On Thu, Mar 21, 2013 at 2:03 PM, Alexey Petruchik
wrote:
Quote:

Thank you for your response. I'll look through files you attached in
next few days. But in my opinion there should be some README.android
in SDL_mixer repo for such cases.


Just to add that libtremor does *NOT* need libogg, it implements
vorbis and
vorbisfile, that is all SDL_Mixer needs, at least in the newest
version (do
not use the bugged version distributed with cocos2d).

HG versions of SDL_mixer have an Android.mk, don't know about the
older
ones, but I'd stick with the HG one since ideally you should use the
latest
SDL HG (and I suggest so, mostly for the new touch api that does not
need
SDL_GetTouch() ).

If you want to see an example of SDL_mixer on android you can download
the
SVN of my soccer game (Eat the Whistle,
https://play.google.com/store/apps/details?id=org.ggsoft.etw ), that
is
located here:

http://etw.svn.sourceforge.net/viewvc/etw/trunk/

If it can be useful to you, I've included in the SVN also a full tree
of
libtremor, with a premade Android.mk.

--
Bye,
 Gabry


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org



_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


View user's profileSend private messageVisit poster's website
SDL_mixer on Android
Gabriele Greco
Guest

Reply with quote
On Fri, Apr 12, 2013 at 4:10 PM, Jonathan Dearborn wrote:
Quote:
I'm not sure where I got them, actually. :-/




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


Joined: 12 Sep 2009
Posts: 754
Reply with quote
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:
Quote:


On Fri, Apr 12, 2013 at 4:10 PM, Jonathan Dearborn wrote:
Quote:
I'm not sure where I got them, actually. :-/





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 mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

View user's profileSend private messageVisit poster's website
SDL_mixer on Android
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic