enum Type {
T_None = 0,
- T_Sndfile
+ T_Sndfile,
+ T_FFMPEG
};
enum FormatId {
F_IRCAM = SF_FORMAT_IRCAM,
F_RAW = SF_FORMAT_RAW,
F_FLAC = SF_FORMAT_FLAC,
- F_Ogg = SF_FORMAT_OGG
+ F_Ogg = SF_FORMAT_OGG,
+ F_FFMPEG = 0xF10000
};
enum Endianness {
SR_None = 0,
SR_Session = 1,
SR_8 = 8000,
- SR_22_05 = 220500,
+ SR_22_05 = 22050,
SR_44_1 = 44100,
SR_48 = 48000,
SR_88_2 = 88200,
SR_96 = 96000,
+ SR_176_4 = 176400,
SR_192 = 192000
};
void set_extension (std::string const & extension) { _extension = extension; }
std::string const & extension () const { return _extension; }
- static SampleRate nearest_sample_rate (framecnt_t sample_rate);
+ static SampleRate nearest_sample_rate (samplecnt_t sample_rate);
protected: