20 #ifndef _ardour_mp3file_importable_source_h_
21 #define _ardour_mp3file_importable_source_h_
34 #if defined ( __i386__) || defined (__PPC__) || defined (__APPLE__)
35 #define MINIMP3_NO_SIMD
38 #define MINIMP3_NONSTANDARD_BUT_LOGICAL
39 #define MINIMP3_FLOAT_OUTPUT
50 uint32_t
channels ()
const {
return _info.channels; }
int decode_mp3(bool parse_only=false)
const uint8_t * _map_addr
void seek(samplepos_t pos)
samplecnt_t length() const
virtual ~Mp3FileImportableSource()
samplecnt_t bitrate() const
Mp3FileImportableSource(const std::string &path)
bool clamped_at_unity() const
samplecnt_t layer() const
samplepos_t _read_position
uint32_t channels() const
samplecnt_t read_unlocked(Sample *, samplepos_t start, samplecnt_t cnt, uint32_t chn)
samplecnt_t samplerate() const
samplecnt_t read(Sample *, samplecnt_t nframes)
samplepos_t natural_position() const
mp3dec_frame_info_t _info
#define MINIMP3_MAX_SAMPLES_PER_FRAME
PBD::PropertyDescriptor< timepos_t > start
Temporal::samplecnt_t samplecnt_t
Temporal::samplepos_t samplepos_t