/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | EchoSuppressor.cpp | 164 int latency = 0; local 176 latency = i; 180 //ALOGI("corr^2 %.5f, var %8.0f %8.0f, latency %d", corr2, varX, varY, 181 // latency * mScale);
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | AudioOutputDescriptor.h | 49 virtual uint32_t latency() { return 0; } function in class:android::AudioOutputDescriptor 102 virtual uint32_t latency();
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioOutputDescriptor.cpp | 290 uint32_t SwAudioOutputDescriptor::latency() function in class:android::SwAudioOutputDescriptor
|
/frameworks/base/core/java/android/speech/tts/ |
H A D | Voice.java | 48 /** Very low expected synthesizer latency (< 20ms) */ 51 /** Low expected synthesizer latency (~20ms) */ 54 /** Normal expected synthesizer latency (~50ms) */ 57 /** Network based expected synthesizer latency (~200ms) */ 60 /** Very slow network based expected synthesizer latency (> 200ms) */ 73 int latency, 79 this.mLatency = latency; 142 * @return The voice's latency (lower is better) 191 .append(", latency: ").append(mLatency) 70 Voice(String name, Locale locale, int quality, int latency, boolean requiresNetworkConnection, Set<String> features) argument
|
/frameworks/av/include/media/ |
H A D | AudioRecord.h | 153 * latency of the track. The actual size selected by the AudioRecord could 155 * latency. Zero means to use a default value. 230 /* Returns this track's estimated latency in milliseconds. 231 * This includes the latency due to AudioRecord buffer size, resampling if applicable, 234 uint32_t latency() const { return mLatency; } function in class:android::AudioRecord
|
H A D | AudioTrack.h | 176 * latency of the track. The actual size selected by the AudioTrack could be 301 /* Returns this track's estimated latency in milliseconds. 302 * This includes the latency due to AudioTrack buffer size, AudioMixer (if any) 305 uint32_t latency() const { return mLatency; } function in class:android::AudioTrack 690 * overall hardware latency to physical output. In WOULD_BLOCK cases, 827 uint32_t mAfLatency; // AudioFlinger latency in ms
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | WifiDisplaySource.cpp | 777 unsigned latency; local 778 if (sscanf(&s[prefixLen + 1], "%08x %02x", modes, &latency) != 2) {
|
/frameworks/av/media/libmedia/ |
H A D | AudioSystem.cpp | 326 status_t AudioSystem::getOutputLatency(uint32_t* latency, audio_stream_type_t streamType) argument 339 return getLatency(output, latency); 343 uint32_t* latency) 349 *latency = af->latency(output); 351 *latency = outputDesc->mLatency; 354 ALOGV("getLatency() output %d, latency %d", output, *latency); 342 getLatency(audio_io_handle_t output, uint32_t* latency) argument
|
H A D | IAudioFlinger.cpp | 295 virtual uint32_t latency(audio_io_handle_t output) const function in class:android::BpAudioFlinger 1007 reply->writeInt32( latency((audio_io_handle_t) data.readInt32()) );
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 396 snprintf(buffer, 255, " msec per frame(%f), latency (%d)\n", 397 mMsecsPerFrame, (mTrack != 0) ? mTrack->latency() : -1); 1430 uint32_t MediaPlayerService::AudioOutput::latency () const function in class:android::MediaPlayerService::AudioOutput 1434 return mTrack->latency();
|
/frameworks/av/services/audioflinger/ |
H A D | Effects.cpp | 408 uint32_t latency = 0; local 411 latency = pbt->latency_l(); 414 *((int32_t *)p->data + 1)= latency;
|
H A D | AudioFlinger.cpp | 718 uint32_t AudioFlinger::latency(audio_io_handle_t output) const function in class:android::AudioFlinger 723 ALOGW("latency(): no playback thread found for output handle %d", output); 726 return thread->latency(); 1861 *latencyMs = thread->latency();
|
H A D | Threads.cpp | 1695 // to be at least 2 x the normal mixer frame count and cover audio hardware latency. 1828 uint32_t AudioFlinger::PlaybackThread::correctLatency_l(uint32_t latency) const 1830 return latency; 1833 uint32_t AudioFlinger::PlaybackThread::latency() const function in class:android::AudioFlinger::PlaybackThread 1901 // effectively get the latency it requested. 2524 - device latency 3325 // This pipe depth compensates for scheduling latency of the normal mixer thread. 3326 // When it wakes up after a maximum latency, it runs a few cycles quickly before 3457 uint32_t AudioFlinger::MixerThread::correctLatency_l(uint32_t latency) const 3461 latency [all...] |
/frameworks/av/services/audiopolicy/managerdefault/ |
H A D | AudioPolicyManager.cpp | 475 // latency of any output where either strategy is active. 483 (delayMs < (int)desc->latency()*2)) { 484 delayMs = desc->latency()*2; 757 uint32_t latency = 0; local 1131 uint32_t latency = desc->latency(); local 1132 if (shouldWait && desc->isActive(latency * 2) && (waitMs < latency)) { 1133 waitMs = latency; 1223 // delay the device switch by twice the latency becaus 4130 const uint32_t latency = desc->latency() * 2; local [all...] |