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()
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/
DAudioResampler.h30 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&);
DAudioResampler.cpp42 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 …]
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 …]
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 {
DRecordTracks.h70 AudioResampler *mResampler;
DAndroid.mk119 AudioResampler.cpp.arm \
DAudioResamplerDyn.cpp168 : AudioResampler(inChannelCount, sampleRate, quality), in AudioResamplerDyn()
196 AudioResampler::setVolume(left, right); in setVolume()
DAudioResamplerSinc.cpp458 : AudioResampler(inChannelCount, sampleRate, quality), in AudioResamplerSinc()
505 AudioResampler::setVolume(left, right); in setVolume()
DAudioMixer.h202 AudioResampler* resampler;
DAudioMixer.cpp929 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()
DAudioFlinger.h71 class AudioResampler; variable
DTracks.cpp2014 mResampler = AudioResampler::create(AUDIO_FORMAT_PCM_16_BIT, in RecordTrack()