mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 07:35:55 +01:00
Add M4A import support using MP4V2 and faad.
This commit is contained in:
@@ -116,7 +116,7 @@ class RDWaveFile
|
||||
enum Format {Pcm8=0,Pcm16=1,Float32=2,MpegL1=3,MpegL2=4,MpegL3=5,
|
||||
DolbyAc2=6,DolbyAc3=7,Vorbis=8};
|
||||
enum Type {Unknown=0,Wave=1,Mpeg=2,Ogg=3,Atx=4,Tmc=5,Flac=6,Ambos=7,
|
||||
Aiff=8};
|
||||
Aiff=8,M4A=9};
|
||||
enum MpegID {NonMpeg=0,Mpeg1=1,Mpeg2=2};
|
||||
|
||||
/**
|
||||
@@ -1046,6 +1046,7 @@ class RDWaveFile
|
||||
bool IsTmc(int fd);
|
||||
bool IsFlac(int fd);
|
||||
bool IsAiff(int fd);
|
||||
bool IsM4A(int fd);
|
||||
off_t FindChunk(int fd,const char *chunk_name,unsigned *chunk_size,
|
||||
bool big_end=false);
|
||||
bool GetChunk(int fd,const char *chunk_name,unsigned *chunk_size,
|
||||
@@ -1378,6 +1379,7 @@ class RDWaveFile
|
||||
*/
|
||||
#define WAVE_FORMAT_VORBIS 0xFFFF
|
||||
#define WAVE_FORMAT_FLAC 0xFFFE
|
||||
#define WAVE_FORMAT_M4A 0xFFFD
|
||||
|
||||
/*
|
||||
* Proprietary Format Categories
|
||||
|
||||
Reference in New Issue
Block a user