pcm/PcmResampler: convert to abstract interface
The PcmResampler interface is implemented by the two classes FallbackPcmResampler and LibsampleratePcmResampler. This prepares for adding more resampler libraries.
This commit is contained in:
@@ -41,12 +41,14 @@ class Domain;
|
||||
class PcmConvert {
|
||||
PcmDsd dsd;
|
||||
|
||||
GluePcmResampler resampler;
|
||||
PcmFormatConverter format_converter;
|
||||
PcmChannelsConverter channels_converter;
|
||||
GluePcmResampler resampler;
|
||||
|
||||
AudioFormat src_format, dest_format;
|
||||
|
||||
bool enable_resampler, enable_format, enable_channels;
|
||||
|
||||
public:
|
||||
PcmConvert();
|
||||
~PcmConvert();
|
||||
|
Reference in New Issue
Block a user