OGG, MP3 & FLAC + id3 August 05, 2009 12:59PM | Registered: 15 years ago Posts: 3 |
Re: OGG, MP3 & FLAC + id3 August 05, 2009 11:28PM | Registered: 16 years ago Posts: 78 |
Re: OGG, MP3 & FLAC + id3 August 05, 2009 11:37PM | Registered: 15 years ago Posts: 3 |
#include "flac/stream_decoder.h" #include "mpg123.h" #include "vorbis/codec.h" #include "vorbis/vorbisfile.h"
rasmus@rasmus-desktop:~/wii/Quiizum$ make make[1]: *** No rule to make target `test.ogg.o', needed by `/home/rasmus/wii/Quiizum/Quiizum.elf'. Stop. make: *** [build] Error 2
#include "oggplayer.h" //Other stuff // Initiate audio AUDIO_Init(NULL); ASND_Init(); ASND_Pause(0); //other stuff PlayOgg(mem_open((char *)test_ogg,test_ogg_size, 0, OGG_ONE_TIME);
LIBS := -lpng -ljpeg -lz -lfat -lwiiuse -lbte -logc -lm -lasnd #other stuff OGGFILES := $(foreach dir,$(DATA),$(notdir $(wildcard $(dir)/*.ogg))) #--------------------------------------------------------------------------------- # use CXX for linking C++ projects, CC for standard C #--------------------------------------------------------------------------------- ifeq ($(strip $(CPPFILES)),) export LD := $(CC) else export LD := $(CXX) endif export OFILES := $(addsuffix .o,$(BINFILES)) \ $(CPPFILES:.cpp=.o) $(CFILES:.c=.o) \ $(sFILES:.s=.o) $(SFILES:.S=.o) $(OGGFILES:.ogg=.ogg.o)
rasmus@rasmus-desktop:~/wii/Quiizum$ make test.ogg bin2s -a 32 /home/rasmus/wii/Quiizum/data/test.ogg | powerpc-gekko-as -o test.ogg.o echo "extern const u8" `(echo test.ogg | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"_end[];" > `(echo test.ogg | tr . _)`.h echo "extern const u8" `(echo test.ogg | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`"[];" >> `(echo test.ogg | tr . _)`.h echo "extern const u32" `(echo test.ogg | sed -e 's/^\([0-9]\)/_\1/' | tr . _)`_size";" >> `(echo test.ogg | tr . _)`.h make[1]: *** No rule to make target `/home/rasmus/wii/Menu-test/source/GRRLIB/GRRLIB.c', needed by `GRRLIB.o'. Stop. make: *** [build] Error 2changes in makefile
%.ogg.o : %.ogg