rockbox-codecs 0.1.1

Rockbox audio decoders (FLAC, MP3, Vorbis, ALAC, WavPack, WAV/ADPCM, …) as a reusable decoding library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* Stub — shadows firmware/export/load_code.h. Codecs only need
 * struct lc_header for the CODEC_HEADER macro; loading is static (the
 * shim's codec table references the renamed __header_<name> symbols
 * directly, like firmware/target/hosted/android/cdylib/lc-android.c). */
#ifndef RBCODEC_LOAD_CODE_H
#define RBCODEC_LOAD_CODE_H

struct lc_header {
    unsigned long magic;
    unsigned short target_id;
    unsigned short api_version;
    unsigned char *load_addr;
    unsigned char *end_addr;
};

#endif