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 {
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: