20 #ifndef MPD_FLAC_PCM_HXX
21 #define MPD_FLAC_PCM_HXX
27 #include <FLAC/ordinals.h>
44 void Open(
unsigned sample_rate,
unsigned bits_per_sample,
const AudioFormat & GetAudioFormat() const
ConstBuffer< void > Import(const FLAC__int32 *const src[], size_t n_frames)
Manager for a temporary buffer which grows as needed.
This class imports libFLAC PCM data into a PCM format supported by MPD.
void Open(unsigned sample_rate, unsigned bits_per_sample, unsigned channels)
Throws #std::runtime_error on error.
A reference to a memory area that is read-only.