Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/tests/
Dresampler_tests.cpp41 android::AudioBufferProvider *provider, android::AudioResampler *resampler) in resample()
74 enum android::AudioResampler::src_quality quality) in testBufferIncrement()
96 android::AudioResampler* resampler; in testBufferIncrement()
98 resampler = android::AudioResampler::create(format, channels, outputFreq, quality); in testBufferIncrement()
100 resampler->setVolume(android::AudioResampler::UNITY_GAIN_FLOAT, in testBufferIncrement()
101 android::AudioResampler::UNITY_GAIN_FLOAT); in testBufferIncrement()
116 resampler = android::AudioResampler::create(format, channels, outputFreq, quality); in testBufferIncrement()
118 resampler->setVolume(android::AudioResampler::UNITY_GAIN_FLOAT, in testBufferIncrement()
119 android::AudioResampler::UNITY_GAIN_FLOAT); in testBufferIncrement()
166 enum android::AudioResampler::src_quality quality) in testStopbandDownconversion()
[all …]
/frameworks/av/services/audioflinger/
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&);
Dtest-resample.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 …]
DAudioResampler.cpp40 class AudioResamplerOrder1 : public AudioResampler {
43 AudioResampler(inChannelCount, sampleRate, LOW_QUALITY), mX0L(0), mX0R(0) { in AudioResamplerOrder1()
81 const double AudioResampler::kPhaseMultiplier = 1L << AudioResampler::kNumPhaseBits;
83 bool AudioResampler::qualityIsSupported(src_quality quality) in qualityIsSupported()
103 static AudioResampler::src_quality defaultQuality = AudioResampler::DEFAULT_QUALITY;
105 void AudioResampler::init_routine() in init_routine()
121 uint32_t AudioResampler::qualityMHz(src_quality quality) in qualityMHz()
147 AudioResampler* AudioResampler::create(audio_format_t format, int inChannelCount, in create()
212 AudioResampler* resampler; in create()
261 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()
DAudioResamplerSinc.h35 class AudioResamplerSinc : public AudioResampler {
DAudioResamplerDyn.h42 class AudioResamplerDyn: public AudioResampler {
DAndroid.mk122 AudioResampler.cpp.arm \
DAudioResamplerDyn.cpp168 : AudioResampler(inChannelCount, sampleRate, quality), in AudioResamplerDyn()
196 AudioResampler::setVolume(left, right); in setVolume()
DAudioResamplerSinc.cpp213 : AudioResampler(inChannelCount, sampleRate, quality), in AudioResamplerSinc()
260 AudioResampler::setVolume(left, right); in setVolume()
DAudioMixer.h213 AudioResampler* resampler;
DAudioMixer.cpp765 AudioResampler::src_quality quality; in setResampler()
771 quality = AudioResampler::DEFAULT_QUALITY; in setResampler()
773 quality = AudioResampler::DYN_LOW_QUALITY; in setResampler()
783 resampler = AudioResampler::create( in setResampler()
DAudioFlinger.h73 class AudioResampler; variable
DThreads.h1210 AudioResampler *mResampler;
DThreads.cpp6867 mResampler = AudioResampler::create(AUDIO_FORMAT_PCM_FLOAT, in updateParameters()