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

replayer lib for Android #7

Open
GoogleCodeExporter opened this issue Mar 17, 2015 · 0 comments
Open

replayer lib for Android #7

GoogleCodeExporter opened this issue Mar 17, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Is there any way to compile the replayer library for Android? The SDL stuff is 
not needed at all. Below is my Android.mk file, I think it should work like 
that. It complains about SDL stuff. Would it be possible to change it so that 
by using some specific cflags it wouldn't use SDL at all?

What I want to achieve is 1) Load a song 2) use the fillbuffer function to get 
samples.


I'm using GCC 4.6

include $(CLEAR_VARS)

LOCAL_MODULE := klystron
LOCAL_LDLIBS := -llog -lz
LOCAL_CFLAGS = -std=gnu99 -O3 -DNOSDL_MIXER -DSTEREOOUTPUT -DUSENATIVEAPIS
LOCAL_ARM_MODE := arm

LOCAL_SRC_FILES := \
    klys/lib/ksnd.c \
    klys/snd/cyd.c \
    klys/snd/cydchr.c \
    klys/snd/cydcrush.c \
    klys/snd/cydentry.c \
    klys/snd/cydflt.c \
    klys/snd/cydfm.c \
    klys/snd/cydfx.c \
    klys/snd/cydosc.c \
    klys/snd/cydrvb.c \
    klys/snd/cydwave.c \
    klys/snd/freqs.c \
    klys/snd/music.c \
    klys/snd/pack.c

LOCAL_C_INCLUDES := \
        $(LOCAL_PATH)/ \
        $(LOCAL_PATH)/klys \
        $(LOCAL_PATH)/klys/lib \
        $(LOCAL_PATH)/klys/snd \

include $(BUILD_SHARED_LIBRARY) 

Original issue reported on code.google.com by [email protected] on 12 Jul 2014 at 10:50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant