/frameworks/rs/tests/latency/ |
H A D | Android.mk | 8 latency.rs \ 9 latency.cpp 17 LOCAL_MODULE:= rstest-latency
|
/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/media/libstagefright/ |
H A D | AudioPlayer.cpp | 200 mLatencyUs = (int64_t)mAudioSink->latency() * 1000; 259 mLatencyUs = (int64_t)mAudioTrack->latency() * 1000; 540 mLatencyUs = (int64_t)mAudioSink->latency() * 1000; 542 mLatencyUs = (int64_t)mAudioTrack->latency() * 1000;
|
H A D | AudioSource.cpp | 305 // from AudioRecord's latency. (Apply this adjustment first so that 307 timeUs -= mRecord->latency() * 1000LL; 329 // Assume latency is constant. 330 mStartTimeUs += mRecord->latency() * 1000;
|
H A D | MediaSync.cpp | 497 // MixerThread runs 20ms, with FastMixer at 5ms, the max latency 518 numFramesPlayedAt += 1000LL * mAudioTrack->latency() / 2; /* XXX */ 532 // (2) In case 3, using getPosition and adding mAudioTrack->latency()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
H A D | AudioOutputDescriptor.h | 51 virtual uint32_t latency() { return 0; } function in class:android::AudioOutputDescriptor 107 virtual uint32_t latency();
|
/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);
|
H A D | AudioGroup.cpp | 384 // Adjust the jitter buffer if the latency keeps larger than the threshold 391 ALOGV("stream[%d] reduces latency of %dms", mSocket, mLatencyScore); 827 ALOGD("latency: output %d, input %d", track->latency(), record->latency()); 861 (track->latency() + record->latency()) * sampleRate / 1000);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | Watchdog.java | 145 long latency = SystemClock.uptimeMillis() - mStartTime; 146 if (latency < mWaitMax/2) { 148 } else if (latency < mWaitMax) {
|
/frameworks/av/media/libmedia/ |
H A D | AudioSystem.cpp | 327 status_t AudioSystem::getOutputLatency(uint32_t* latency, audio_stream_type_t streamType) argument 340 return getLatency(output, latency); 344 uint32_t* latency) 350 *latency = af->latency(output); 352 *latency = outputDesc->mLatency; 355 ALOGV("getLatency() output %d, latency %d", output, *latency); 343 getLatency(audio_io_handle_t output, uint32_t* latency) argument
|
H A D | IAudioFlinger.cpp | 302 virtual uint32_t latency(audio_io_handle_t output) const function in class:android::BpAudioFlinger 1033 reply->writeInt32( latency((audio_io_handle_t) data.readInt32()) );
|
/frameworks/av/include/media/ |
H A D | AudioSystem.h | 117 static status_t getOutputLatency(uint32_t* latency, 126 // returns the audio output latency in ms. Corresponds to 129 uint32_t* latency);
|
H A D | AudioRecord.h | 155 * latency of the track. The actual size selected by the AudioRecord could 157 * latency. Zero means to use a default value. 232 /* Returns this track's estimated latency in milliseconds. 233 * This includes the latency due to AudioRecord buffer size, resampling if applicable, 236 uint32_t latency() const { return mLatency; } function in class:android::AudioRecord
|
H A D | IAudioFlinger.h | 102 // FIXME Surprisingly, format/latency don't work for input handles 114 // return estimated latency in milliseconds 115 virtual uint32_t latency(audio_io_handle_t output) const = 0;
|
H A D | MediaPlayerInterface.h | 98 virtual uint32_t latency() const = 0;
|
H A D | AudioTrack.h | 180 * latency of the track. The actual size selected by the AudioTrack could be 325 /* Returns this track's estimated latency in milliseconds. 326 * This includes the latency due to AudioTrack buffer size, AudioMixer (if any) 329 uint32_t latency() const { return mLatency; } function in class:android::AudioTrack 365 * This allows an application to raise and lower the audio latency. 747 * overall hardware latency to physical output. In WOULD_BLOCK cases, 785 * overall hardware latency to physical output. In WOULD_BLOCK cases, 957 uint32_t mAfLatency; // AudioFlinger latency in ms
|
/frameworks/av/services/audiopolicy/managerdefault/ |
H A D | AudioPolicyManager.cpp | 498 // latency of any output where either strategy is active. 506 (delayMs < (int)desc->latency()*2)) { 507 delayMs = desc->latency()*2; 778 uint32_t latency = 0; local 1189 uint32_t latency = desc->latency(); local 1190 if (shouldWait && desc->isActive(latency * 2) && (waitMs < latency)) { 1191 waitMs = latency; 1281 // delay the device switch by twice the latency becaus 4473 const uint32_t latency = desc->latency() * 2; local [all...] |
/frameworks/av/services/audioflinger/ |
H A D | Threads.h | 547 // return estimated latency in milliseconds, as reported by HAL 548 uint32_t latency() const; 741 virtual uint32_t correctLatency_l(uint32_t latency) const; 894 virtual uint32_t correctLatency_l(uint32_t latency) const;
|
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.h | 137 virtual uint32_t latency(audio_io_handle_t output) const;
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.h | 87 virtual uint32_t latency() const;
|
H A D | MediaPlayerService.cpp | 384 snprintf(buffer, 255, " msec per frame(%f), latency (%d)\n", 385 mMsecsPerFrame, (mTrack != 0) ? mTrack->latency() : -1); 1462 uint32_t MediaPlayerService::AudioOutput::latency () const function in class:android::MediaPlayerService::AudioOutput 1466 return mTrack->latency(); 1519 // the max latency should be about 25ms with an average around 12ms (to be verified). 1535 numFramesPlayedAt += 1000LL * mTrack->latency() / 2; /* XXX */ 1547 // (2) In case 3, using getPosition and adding mAudioSink->latency() to
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | AudioOutputDescriptor.cpp | 288 uint32_t SwAudioOutputDescriptor::latency() function in class:android::SwAudioOutputDescriptor
|
/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/base/core/jni/ |
H A D | android_media_AudioTrack.cpp | 954 "Unable to retrieve AudioTrack pointer for latency()"); 957 return (jint)lpTrack->latency();
|