29 #include <samplerate.h>
51 F_WAV = SF_FORMAT_WAV,
52 F_W64 = SF_FORMAT_W64,
53 F_CAF = SF_FORMAT_CAF,
54 F_AIFF = SF_FORMAT_AIFF,
56 F_IRCAM = SF_FORMAT_IRCAM,
57 F_RAW = SF_FORMAT_RAW,
58 F_FLAC = SF_FORMAT_FLAC,
59 F_Ogg = SF_FORMAT_OGG,
65 E_FileDefault = SF_ENDIAN_FILE,
66 E_Little = SF_ENDIAN_LITTLE,
67 E_Big = SF_ENDIAN_BIG,
73 SF_8 = SF_FORMAT_PCM_S8,
74 SF_16 = SF_FORMAT_PCM_16,
75 SF_24 = SF_FORMAT_PCM_24,
76 SF_32 = SF_FORMAT_PCM_32,
77 SF_U8 = SF_FORMAT_PCM_U8,
78 SF_Float = SF_FORMAT_FLOAT,
79 SF_Double = SF_FORMAT_DOUBLE,
80 SF_Vorbis = SF_FORMAT_VORBIS,
82 SF_MPEG_LAYER_III = 0x0082
115 SRC_SincBest = SRC_SINC_BEST_QUALITY,
116 SRC_SincMedium = SRC_SINC_MEDIUM_QUALITY,
117 SRC_SincFast = SRC_SINC_FASTEST,
118 SRC_ZeroOrderHold = SRC_ZERO_ORDER_HOLD,
119 SRC_Linear = SRC_LINEAR
126 : _selected (false), _compatible (true) { }
134 std::string
name ()
const {
return _name; }
171 void set_extension (std::string
const & extension) { _extension = extension; }
172 std::string
const &
extension ()
const {
return _extension; }
GtkImageIconNameData name
Temporal::samplecnt_t samplecnt_t
@ D_Tri
Triangular dithering.
@ D_Shaped
Actually noise shaping, only works for 46kHzish signals.
@ D_Rect
Rectangular dithering, i.e. white noise.