20 #ifndef PCM_EXPORT_HXX
21 #define PCM_EXPORT_HXX
117 uint8_t reverse_endian;
121 bool alsa_channel_order =
false;
123 bool dsd_u16 =
false;
124 bool dsd_u32 =
false;
129 bool reverse_endian =
false;
gcc_pure size_t GetFrameSize(const AudioFormat &audio_format) const noexcept
Calculate the size of one output frame.
gcc_pure size_t CalcSourceSize(size_t dest_size) const noexcept
Converts the number of consumed bytes from the pcm_export() destination buffer to the according numbe...
void Reset()
Reset the filter's state, e.g.
gcc_pure unsigned CalcInputSampleRate(unsigned output_sample_rate) const noexcept
The inverse of CalcOutputSampleRate().
ConstBuffer< void > Export(ConstBuffer< void > src)
Export a PCM buffer.
An object that handles export of PCM samples to some instance outside of MPD.
Manager for a temporary buffer which grows as needed.
A reference to a memory area that is read-only.
void Open(SampleFormat sample_format, unsigned channels, Params params)
Open the object.
gcc_pure unsigned CalcOutputSampleRate(unsigned input_sample_rate) const noexcept
Calculate the output sample rate, given a specific input sample rate.