Home
last modified time | relevance | path

Searched refs:AudioResampler (Results 1 – 18 of 18) sorted by relevance

/frameworks/av/media/libaudioprocessing/tests/
Dresampler_tests.cpp58 android::AudioBufferProvider *provider, android::AudioResampler *resampler) in resample()
91 enum android::AudioResampler::src_quality quality) in testBufferIncrement()
113 android::AudioResampler* resampler; in testBufferIncrement()
115 resampler = android::AudioResampler::create(format, channels, outputFreq, quality); in testBufferIncrement()
117 resampler->setVolume(android::AudioResampler::UNITY_GAIN_FLOAT, in testBufferIncrement()
118 android::AudioResampler::UNITY_GAIN_FLOAT); in testBufferIncrement()
133 resampler = android::AudioResampler::create(format, channels, outputFreq, quality); in testBufferIncrement()
135 resampler->setVolume(android::AudioResampler::UNITY_GAIN_FLOAT, in testBufferIncrement()
136 android::AudioResampler::UNITY_GAIN_FLOAT); in testBufferIncrement()
183 enum android::AudioResampler::src_quality quality) in testStopbandDownconversion()
[all …]
Dtest-resampler.cpp112 AudioResampler::src_quality quality = AudioResampler::DEFAULT_QUALITY; in main()
136 quality = AudioResampler::DEFAULT_QUALITY; in main()
138 quality = AudioResampler::LOW_QUALITY; in main()
140 quality = AudioResampler::MED_QUALITY; in main()
142 quality = AudioResampler::HIGH_QUALITY; in main()
144 quality = AudioResampler::VERY_HIGH_QUALITY; in main()
146 quality = AudioResampler::DYN_LOW_QUALITY; in main()
148 quality = AudioResampler::DYN_MED_QUALITY; in main()
150 quality = AudioResampler::DYN_HIGH_QUALITY; in main()
182 || channels > (quality < AudioResampler::DYN_LOW_QUALITY ? 2 : 8)) { in main()
[all …]
/frameworks/av/media/libaudioprocessing/include/media/
DAudioResampler.h32 class ANDROID_API AudioResampler {
54 static AudioResampler* create(audio_format_t format, int inChannelCount,
57 virtual ~AudioResampler();
96 AudioResampler(int inChannelCount, int32_t sampleRate, src_quality quality);
99 AudioResampler(const AudioResampler&);
100 AudioResampler& operator=(const AudioResampler&);
/frameworks/av/include/media/
DAudioResampler.h32 class ANDROID_API AudioResampler {
54 static AudioResampler* create(audio_format_t format, int inChannelCount,
57 virtual ~AudioResampler();
96 AudioResampler(int inChannelCount, int32_t sampleRate, src_quality quality);
99 AudioResampler(const AudioResampler&);
100 AudioResampler& operator=(const AudioResampler&);
DRecordBufferConverter.h26 class AudioResampler; variable
107 AudioResampler *mResampler;
DAudioMixer.h289 std::unique_ptr<AudioResampler> mResampler;
/frameworks/av/media/libaudioprocessing/
DAudioResampler.cpp43 class AudioResamplerOrder1 : public AudioResampler {
46 AudioResampler(inChannelCount, sampleRate, LOW_QUALITY), mX0L(0), mX0R(0) { in AudioResamplerOrder1()
84 const double AudioResampler::kPhaseMultiplier = 1L << AudioResampler::kNumPhaseBits;
86 bool AudioResampler::qualityIsSupported(src_quality quality) in qualityIsSupported()
106 static AudioResampler::src_quality defaultQuality = AudioResampler::DEFAULT_QUALITY;
108 void AudioResampler::init_routine() in init_routine()
124 uint32_t AudioResampler::qualityMHz(src_quality quality) in qualityMHz()
150 AudioResampler* AudioResampler::create(audio_format_t format, int inChannelCount, in create()
215 AudioResampler* resampler; in create()
264 AudioResampler::AudioResampler(int inChannelCount, in AudioResampler() function in android::AudioResampler
[all …]
DAudioResamplerCubic.h29 class AudioResamplerCubic : public AudioResampler {
32 AudioResampler(inChannelCount, sampleRate, MED_QUALITY) { in AudioResamplerCubic()
DAndroid.mk7 AudioResampler.cpp.arm \
DAudioResamplerSinc.h35 class AudioResamplerSinc : public AudioResampler {
DAudioResamplerDyn.h42 class AudioResamplerDyn: public AudioResampler {
DRecordBufferConverter.cpp169 mResampler = AudioResampler::create(AUDIO_FORMAT_PCM_FLOAT, in updateParameters()
DAudioResamplerSinc.cpp213 : AudioResampler(inChannelCount, sampleRate, quality), in AudioResamplerSinc()
260 AudioResampler::setVolume(left, right); in setVolume()
DAudioResamplerDyn.cpp184 : AudioResampler(inChannelCount, sampleRate, quality), in AudioResamplerDyn()
222 AudioResampler::setVolume(left, right); in setVolume()
DAudioMixer.cpp681 AudioResampler::src_quality quality; in setResampler()
687 quality = AudioResampler::DEFAULT_QUALITY; in setResampler()
689 quality = AudioResampler::DYN_LOW_QUALITY; in setResampler()
699 mResampler.reset(AudioResampler::create( in setResampler()
/frameworks/av/media/libmedia/include/media/
DRecordBufferConverter.h26 class AudioResampler; variable
107 AudioResampler *mResampler;
/frameworks/av/media/libaudioclient/include/media/
DAudioMixer.h289 std::unique_ptr<AudioResampler> mResampler;
/frameworks/av/services/audioflinger/
DAudioFlinger.h87 class AudioResampler; variable