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() 71 enum android::AudioResampler::src_quality quality) in testBufferIncrement() 93 android::AudioResampler* resampler; in testBufferIncrement() 95 resampler = android::AudioResampler::create(format, channels, outputFreq, quality); in testBufferIncrement() 97 resampler->setVolume(android::AudioResampler::UNITY_GAIN_FLOAT, in testBufferIncrement() 98 android::AudioResampler::UNITY_GAIN_FLOAT); in testBufferIncrement() 113 resampler = android::AudioResampler::create(format, channels, outputFreq, quality); in testBufferIncrement() 115 resampler->setVolume(android::AudioResampler::UNITY_GAIN_FLOAT, in testBufferIncrement() 116 android::AudioResampler::UNITY_GAIN_FLOAT); in testBufferIncrement() 163 enum android::AudioResampler::src_quality quality) in testStopbandDownconversion() [all …]
|
/frameworks/av/services/audioflinger/ |
D | AudioResampler.h | 30 class ANDROID_API AudioResampler { 52 static AudioResampler* create(audio_format_t format, int inChannelCount, 55 virtual ~AudioResampler(); 92 AudioResampler(int inChannelCount, int32_t sampleRate, src_quality quality); 95 AudioResampler(const AudioResampler&); 96 AudioResampler& operator=(const AudioResampler&);
|
D | AudioResampler.cpp | 42 class AudioResamplerOrder1 : public AudioResampler { 45 AudioResampler(inChannelCount, sampleRate, LOW_QUALITY), mX0L(0), mX0R(0) { in AudioResamplerOrder1() 83 const double AudioResampler::kPhaseMultiplier = 1L << AudioResampler::kNumPhaseBits; 85 bool AudioResampler::qualityIsSupported(src_quality quality) in qualityIsSupported() 105 static AudioResampler::src_quality defaultQuality = AudioResampler::DEFAULT_QUALITY; 107 void AudioResampler::init_routine() in init_routine() 123 uint32_t AudioResampler::qualityMHz(src_quality quality) in qualityMHz() 149 AudioResampler* AudioResampler::create(audio_format_t format, int inChannelCount, in create() 214 AudioResampler* resampler; in create() 263 AudioResampler::AudioResampler(int inChannelCount, in AudioResampler() function in android::AudioResampler [all …]
|
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 | 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 | RecordTracks.h | 70 AudioResampler *mResampler;
|
D | Android.mk | 119 AudioResampler.cpp.arm \
|
D | AudioResamplerDyn.cpp | 168 : AudioResampler(inChannelCount, sampleRate, quality), in AudioResamplerDyn() 196 AudioResampler::setVolume(left, right); in setVolume()
|
D | AudioResamplerSinc.cpp | 458 : AudioResampler(inChannelCount, sampleRate, quality), in AudioResamplerSinc() 505 AudioResampler::setVolume(left, right); in setVolume()
|
D | AudioMixer.h | 202 AudioResampler* resampler;
|
D | AudioMixer.cpp | 929 AudioResampler::src_quality quality; in setResampler() 936 quality = AudioResampler::DYN_LOW_QUALITY; in setResampler() 938 quality = AudioResampler::DEFAULT_QUALITY; in setResampler() 948 resampler = AudioResampler::create( in setResampler()
|
D | AudioFlinger.h | 71 class AudioResampler; variable
|
D | Tracks.cpp | 2014 mResampler = AudioResampler::create(AUDIO_FORMAT_PCM_16_BIT, in RecordTrack()
|