/system/media/audio_utils/ |
resampler.c | 18 #define LOG_TAG "resampler" 24 #include <audio_utils/resampler.h> 28 struct resampler { struct 30 SpeexResamplerState *speex_resampler; // handle on speex resampler 41 int32_t speex_delay_ns; // delay introduced by speex resampler in ns 46 // speex based resampler 49 static void resampler_reset(struct resampler_itfe *resampler) 51 struct resampler *rsmp = (struct resampler *)resampler; [all...] |
echo_reference.c | 25 #include <audio_utils/resampler.h> 54 void *wr_src_buf; // resampler input buf (either wr_buf or buffer used by write()) 63 struct resampler_itfe *resampler; // input resampler member in struct:echo_reference 64 struct resampler_buffer_provider provider; // resampler buffer provider 126 /* additional space in resampler buffer allowing for extra samples to be returned 127 * by speex resampler when sample rates ratio is not an integer. 165 if (er->resampler != NULL) { 166 er->resampler->reset(er->resampler); [all...] |
Android.mk | 11 resampler.c \
|
/system/media/audio_utils/include/audio_utils/ |
resampler.h | 41 /* call back interface used by the resampler to get new data */ 61 /* resampler interface */ 64 * reset resampler state 66 void (*reset)(struct resampler_itfe *resampler); 71 int (*resample_from_provider)(struct resampler_itfe *resampler, 79 int (*resample_from_input)(struct resampler_itfe *resampler, 85 * return the latency introduced by the resampler in ns. 87 int32_t (*delay_ns)(struct resampler_itfe *resampler); 91 * create a resampler according to input parameters passed. 103 * release resampler resources [all...] |
/frameworks/av/services/audioflinger/audio-resampler/ |
Android.mk | 8 LOCAL_MODULE := libaudio-resampler
|
/frameworks/av/services/audioflinger/ |
test-resample.cpp | 70 fprintf(stderr," -q resampler quality\n"); 213 AudioResampler* resampler = AudioResampler::create(16, channels, local 217 resampler->setSampleRate(input_freq); 218 resampler->setVolume(0x1000, 0x1000); 223 resampler->resample((int*) output_vaddr, out_frames, &provider); 224 resampler->resample((int*) output_vaddr, out_frames, &provider); 225 resampler->resample((int*) output_vaddr, out_frames, &provider); 226 resampler->resample((int*) output_vaddr, out_frames, &provider); 233 delete resampler; 236 AudioResampler* resampler = AudioResampler::create(16, channels local [all...] |
AudioMixer.h | 89 // This clears out the resampler's input buffer. 193 AudioResampler* resampler; member in struct:android::AudioMixer::track_t 209 bool doesResample() const { return resampler != NULL; } 210 void resetResampler() { if (resampler != NULL) resampler->reset(); } 212 size_t getUnreleasedFrames() const { return resampler != NULL ? 213 resampler->getUnreleasedFrames() : 0; };
|
AudioResampler.cpp | 102 if (property_get("af.resampler.quality", value, NULL) > 0) { 140 // read the resampler default quality property the first time it is needed 151 // naive implementation of CPU load throttling doesn't account for whether resampler is active 157 ALOGV("resampler load %u -> %u MHz due to delta +%u MHz from quality %d", 182 AudioResampler* resampler; local 188 ALOGV("Create linear Resampler"); 189 resampler = new AudioResamplerOrder1(bitDepth, inChannelCount, sampleRate); 192 ALOGV("Create cubic Resampler"); 193 resampler = new AudioResamplerCubic(bitDepth, inChannelCount, sampleRate); 196 ALOGV("Create HIGH_QUALITY sinc Resampler"); [all...] |
AudioMixer.cpp | 133 t->resampler = NULL; 165 delete t->resampler; 212 t->resampler = NULL; 382 // delete the resampler 383 delete track.resampler; 384 track.resampler = NULL; 484 delete track.resampler; 485 track.resampler = NULL; 549 if (value != devSampleRate || resampler != NULL) { 552 if (resampler == NULL) [all...] |
Android.mk | 87 # build audio resampler test tool
|
/external/webkit/Source/WebCore/platform/audio/ |
AudioResamplerKernel.cpp | 40 AudioResamplerKernel::AudioResamplerKernel(AudioResampler* resampler) 41 : m_resampler(resampler)
|
AudioBus.cpp | 415 SincResampler resampler(sampleRateRatio); 416 resampler.process(source, destination, sourceLength);
|
/device/asus/grouper/audio/ |
audio_hw.c | 37 #include <audio_utils/resampler.h> 121 struct resampler_itfe *resampler; member in struct:stream_out 141 struct resampler_itfe *resampler; member in struct:stream_in 220 if (out->resampler) { 221 release_resampler(out->resampler); 222 out->resampler = NULL; 241 if (in->resampler) { 242 release_resampler(in->resampler); 243 in->resampler = NULL; 303 * create a resampler [all...] |
/external/webrtc/src/common_audio/resampler/ |
Android.mk | 20 LOCAL_SRC_FILES := resampler.cc
|
/device/ti/panda/audio/ |
audio_hw.c | 45 #include <audio_utils/resampler.h> 606 struct resampler_itfe *resampler; member in struct:omap4_stream_out 625 struct resampler_itfe *resampler; member in struct:omap4_stream_in [all...] |
/device/samsung/tuna/audio/ |
audio_hw.c | 35 #include <audio_utils/resampler.h> 681 struct resampler_itfe *resampler; member in struct:tuna_stream_out 721 struct resampler_itfe *resampler; member in struct:tuna_stream_in [all...] |
/device/samsung/manta/audio/ |
audio_hw.c | 41 #include <audio_utils/resampler.h> 176 struct resampler_itfe *resampler; member in struct:stream_in 758 /* if no supported sample rate is available, use the resampler */ 759 if (in->resampler) 760 in->resampler->reset(in->resampler); 873 if (in->resampler != NULL) { 874 in->resampler->resample_from_provider(in->resampler, 894 * in->resampler->resample_from_provider() * [all...] |
/external/webrtc/src/modules/audio_processing/aec/ |
echo_cancellation.c | 84 void *resampler; member in struct:__anon18324 121 if (WebRtcAec_CreateResampler(&aecpc->resampler) == -1) { 193 WebRtcAec_FreeResampler(aecpc->resampler); 226 if (WebRtcAec_InitResampler(aecpc->resampler, aecpc->scSampFreq) == -1) { 329 newNrOfSamples = WebRtcAec_ResampleLinear(aecpc->resampler, 434 retVal = WebRtcAec_GetSkew(aecpc->resampler, skew, &aecpc->skew);
|
/device/asus/flo/ |
device-common.mk | 131 af.resampler.quality=4 174 libaudio-resampler
|
/device/lge/mako/ |
device.mk | 148 af.resampler.quality=4 187 libaudio-resampler
|
/external/webrtc/ |
Android.mk | 12 include $(MY_WEBRTC_ROOT_PATH)/src/common_audio/resampler/Android.mk
|