/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/include/media/ |
H A D | AudioSystem.h | 106 static status_t getOutputLatency(uint32_t* latency, 114 // returns the audio output stream latency in ms. Corresponds to 117 uint32_t* latency); 174 : samplingRate(0), format(AUDIO_FORMAT_DEFAULT), channelMask(0), frameCount(0), latency(0) 181 uint32_t latency; member in class:android::AudioSystem::OutputDescriptor
|
H A D | AudioRecord.h | 143 * latency of the track. The actual size selected by the AudioRecord could 145 * latency. Zero means to use a default value. 210 /* Returns this track's estimated latency in milliseconds. 211 * This includes the latency due to AudioRecord buffer size, 214 uint32_t latency() const { return mLatency; } function in class:android::AudioRecord
|
H A D | AudioTrack.h | 163 * latency of the track. The actual size selected by the AudioTrack could be 268 /* Returns this track's estimated latency in milliseconds. 269 * This includes the latency due to AudioTrack buffer size, AudioMixer (if any) 272 uint32_t latency() const { return mLatency; } function in class:android::AudioTrack 586 * overall hardware latency to physical output. In WOULD_BLOCK cases,
|
/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/base/core/java/android/net/ |
H A D | MobileDataStateTracker.java | 792 li.setTheoreticalLatency(entry.latency); 835 public int latency; // in millisecond field in class:MobileDataStateTracker.NetworkDataEntry 841 latency = i4;
|
/frameworks/av/media/libmedia/ |
H A D | AudioSystem.cpp | 331 status_t AudioSystem::getOutputLatency(uint32_t* latency, audio_stream_type_t streamType) argument 344 return getLatency(output, latency); 348 uint32_t* latency) 358 *latency = af->latency(output); 360 *latency = outputDesc->latency; 364 ALOGV("getLatency() output %d, latency %d", output, *latency); 500 "latency 347 getLatency(audio_io_handle_t output, uint32_t* latency) argument [all...] |
H A D | IAudioFlinger.cpp | 288 virtual uint32_t latency(audio_io_handle_t output) const function in class:android::BpAudioFlinger 991 reply->writeInt32( latency((audio_io_handle_t) data.readInt32()) );
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | WifiDisplaySource.cpp | 771 unsigned latency; local 772 if (sscanf(&s[prefixLen + 1], "%08x %02x", modes, &latency) != 2) {
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 420 snprintf(buffer, 255, " msec per frame(%f), latency (%d)\n", 421 mMsecsPerFrame, (mTrack != 0) ? mTrack->latency() : -1); 1483 uint32_t MediaPlayerService::AudioOutput::latency () const function in class:android::MediaPlayerService::AudioOutput 1486 return mTrack->latency(); 1964 uint32_t MediaPlayerService::AudioCache::latency () const function in class:android::MediaPlayerService::AudioCache
|
/frameworks/av/services/audioflinger/ |
H A D | Effects.cpp | 400 uint32_t latency = 0; local 403 latency = pbt->latency_l(); 406 *((int32_t *)p->data + 1)= latency;
|
H A D | AudioFlinger.cpp | 711 uint32_t AudioFlinger::latency(audio_io_handle_t output) const function in class:android::AudioFlinger 716 ALOGW("latency(): no playback thread found for output handle %d", output); 719 return thread->latency(); 1732 *latencyMs = thread->latency();
|
H A D | Threads.cpp | 1426 // to be at least 2 x the normal mixer frame count and cover audio hardware latency. 1551 uint32_t AudioFlinger::PlaybackThread::correctLatency_l(uint32_t latency) const 1553 return latency; 1556 uint32_t AudioFlinger::PlaybackThread::latency() const function in class:android::AudioFlinger::PlaybackThread 1624 // effectively get the latency it requested. 1744 desc.latency = latency_l(); 2198 - device latency 2825 // This pipe depth compensates for scheduling latency of the normal mixer thread. 2826 // When it wakes up after a maximum latency, it runs a few cycles quickly before 2965 uint32_t AudioFlinger::MixerThread::correctLatency_l(uint32_t latency) cons [all...] |
/frameworks/av/services/audiopolicy/ |
H A D | AudioPolicyManager.cpp | 627 // latency of any output where either strategy is active. 875 uint32_t latency = 0; local 1149 uint32_t latency = desc->latency(); local 1150 if (shouldWait && desc->isActive(latency * 2) && (waitMs < latency)) { 1151 waitMs = latency; 1204 // delay the device switch by twice the latency because stopOutput() is executed when 1206 // still contain data that needs to be drained. The latency only covers the audio HAL 1207 // and kernel buffers. Also the latency doe 5271 uint32_t AudioPolicyManager::AudioOutputDescriptor::latency() function in class:android::AudioPolicyManager::AudioOutputDescriptor [all...] |