Changeset 318:c9882fe073c4 in roaraudio
- Timestamp:
- 07/24/08 16:22:54 (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/roaraudio/audio.h
r317 r318 11 11 Bits: 12 12 76543210 13 |||\---\ byte- 14 ||\----/ order 15 |\-----> unsigned? 16 \------> PCM(0) or MIDI(1)? 13 ||||\---\ byte- 14 |||\----/ order 15 ||\-----> unsigned? 16 |\------> PCM(0) or MIDI(1)? 17 \-------> PCM/MIDI(0) or hi-level codecs(1) 18 19 MIDI 0x08: 20 76543210 21 000 0x08 -> MIDI File 22 23 hi-level 0x10: 24 76543210 25 0000 0x10 -> Ogg Vorbis 26 0001 0x11 -> Native FLAC 27 0010 0x12 -> Ogg Speex 28 0011 0x13 -> Reserved for CELT 29 0100 0x14 -> Ogg FLAC 30 0101 0x15 -> Ogg General 17 31 */ 18 32 … … 29 43 #define ROAR_CODEC_PCM_U_BE (ROAR_CODEC_PCM_S_BE | ROAR_CODEC_UNSIGNED) 30 44 #define ROAR_CODEC_PCM_U_PDP (ROAR_CODEC_PCM_S_PDP | ROAR_CODEC_UNSIGNED) 45 46 #define ROAR_CODEC_MIDI_FILE 0x08 47 48 #define ROAR_CODEC_OGG_VORBIS 0x10 49 #define ROAR_CODEC_FLAC 0x11 /* native FLAC without Ogg container */ 50 #define ROAR_CODEC_OGG_SPEEX 0x12 51 /* #define ROAR_CODEC_CELT/OGG_CELT 0x13 Reserved for CELT */ 52 #define ROAR_CODEC_OGG_FLAC 0x14 53 #define ROAR_CODEC_OGG_GENERAL 0x15 31 54 32 55 #if BYTE_ORDER == BIG_ENDIAN
Note: See TracChangeset
for help on using the changeset viewer.