Searched refs:AudioResampler (Results 1 – 15 of 15) sorted by relevance
/frameworks/av/services/audioflinger/tests/ |
D | resampler_tests.cpp | 41 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/ |
D | AudioResampler.h | 32 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&);
|
D | test-resample.cpp | 112 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 …]
|
D | AudioResampler.cpp | 40 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 …]
|
D | AudioResamplerCubic.h | 29 class AudioResamplerCubic : public AudioResampler { 32 AudioResampler(inChannelCount, sampleRate, MED_QUALITY) { in AudioResamplerCubic()
|
D | AudioResamplerSinc.h | 35 class AudioResamplerSinc : public AudioResampler {
|
D | AudioResamplerDyn.h | 42 class AudioResamplerDyn: public AudioResampler {
|
D | Android.mk | 122 AudioResampler.cpp.arm \
|
D | AudioResamplerDyn.cpp | 168 : AudioResampler(inChannelCount, sampleRate, quality), in AudioResamplerDyn() 196 AudioResampler::setVolume(left, right); in setVolume()
|
D | AudioResamplerSinc.cpp | 213 : AudioResampler(inChannelCount, sampleRate, quality), in AudioResamplerSinc() 260 AudioResampler::setVolume(left, right); in setVolume()
|
D | AudioMixer.h | 213 AudioResampler* resampler;
|
D | AudioMixer.cpp | 765 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()
|
D | AudioFlinger.h | 73 class AudioResampler; variable
|
D | Threads.h | 1210 AudioResampler *mResampler;
|
D | Threads.cpp | 6867 mResampler = AudioResampler::create(AUDIO_FORMAT_PCM_FLOAT, in updateParameters()
|