Lines Matching refs:AudioResampler
17 #define LOG_TAG "AudioResampler"
25 #include "AudioResampler.h"
40 class AudioResamplerOrder1 : public AudioResampler {
43 AudioResampler(bitDepth, inChannelCount, sampleRate, LOW_QUALITY), mX0L(0), mX0R(0) {
80 bool AudioResampler::qualityIsSupported(src_quality quality)
97 static AudioResampler::src_quality defaultQuality = AudioResampler::DEFAULT_QUALITY;
99 void AudioResampler::init_routine()
107 ALOGD("forcing AudioResampler quality to %d", defaultQuality);
115 uint32_t AudioResampler::qualityMHz(src_quality quality)
135 AudioResampler* AudioResampler::create(int bitDepth, int inChannelCount,
182 AudioResampler* resampler;
210 AudioResampler::AudioResampler(int bitDepth, int inChannelCount,
232 AudioResampler::~AudioResampler() {
244 void AudioResampler::setSampleRate(int32_t inSampleRate) {
249 void AudioResampler::setVolume(int16_t left, int16_t right) {
255 void AudioResampler::setLocalTimeFreq(uint64_t freq) {
259 void AudioResampler::setPTS(int64_t pts) {
263 int64_t AudioResampler::calculateOutputPTS(int outputFrameIndex) {
272 void AudioResampler::reset() {