MPD
0.20.6
|
#include <PcmExport.hxx>
Public Member Functions | |
gcc_pure unsigned | CalcOutputSampleRate (unsigned input_sample_rate) const |
Calculate the output sample rate, given a specific input sample rate. More... | |
gcc_pure unsigned | CalcInputSampleRate (unsigned output_sample_rate) const |
The inverse of CalcOutputSampleRate(). More... | |
Data Fields | |
bool | alsa_channel_order = false |
bool | shift8 = false |
bool | pack24 = false |
bool | reverse_endian = false |
Definition at line 120 of file PcmExport.hxx.
gcc_pure unsigned PcmExport::Params::CalcInputSampleRate | ( | unsigned | output_sample_rate | ) | const |
The inverse of CalcOutputSampleRate().
gcc_pure unsigned PcmExport::Params::CalcOutputSampleRate | ( | unsigned | input_sample_rate | ) | const |
Calculate the output sample rate, given a specific input sample rate.
Usually, both are the same; however, with DSD_U32, four input bytes (= 4 * 8 bits) are combined to one output word (32 bits), dividing the sample rate by 4.
bool PcmExport::Params::alsa_channel_order = false |
Definition at line 121 of file PcmExport.hxx.
bool PcmExport::Params::pack24 = false |
Definition at line 128 of file PcmExport.hxx.
bool PcmExport::Params::reverse_endian = false |
Definition at line 129 of file PcmExport.hxx.
bool PcmExport::Params::shift8 = false |
Definition at line 127 of file PcmExport.hxx.