How to write a codec for Rockbox
Codec structure
Adding a decoder to Rockbox
This is of course subject to change as things move around in the source.
- Put your source in apps/codecs
- apps/codecs/Makefile
- Add a rule like ${OBJDIR}/wav.elf : $(OBJDIR)/wav.o
- firmware/export/id3.h
- Add a value to the Audio file types enum.
- firmware/id3.c
- Add an entry to audio_formats[]
- apps/metadata.c
- Add a case to the switch in get_metadata()
- apps/metadata/
- Add your metadata detection here.
- apps/filetypes.c
- Add an element to inbuilt_filetypes struct.
Copyright © by the contributing authors.