Searched defs:latency (Results 1 - 14 of 14) sorted by relevance

/frameworks/opt/net/voip/src/jni/rtp/
H A DEchoSuppressor.cpp164 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 DAudioSystem.h105 static status_t getOutputLatency(uint32_t* latency,
113 // returns the audio output stream latency in ms. Corresponds to
116 uint32_t* latency);
171 : samplingRate(0), format(AUDIO_FORMAT_DEFAULT), channelMask(0), frameCount(0), latency(0)
178 uint32_t latency; member in class:android::AudioSystem::OutputDescriptor
H A DAudioRecord.h143 * latency of the track. The actual size selected by the AudioRecord could
145 * latency. Zero means to use a default value.
213 /* Returns this track's estimated latency in milliseconds.
214 * This includes the latency due to AudioRecord buffer size,
217 uint32_t latency() const { return mLatency; } function in class:android::AudioRecord
H A DAudioTrack.h163 * latency of the track. The actual size selected by the AudioTrack could be
271 /* Returns this track's estimated latency in milliseconds.
272 * This includes the latency due to AudioTrack buffer size, AudioMixer (if any)
275 uint32_t latency() const { return mLatency; } function in class:android::AudioTrack
589 * overall hardware latency to physical output. In WOULD_BLOCK cases,
/frameworks/base/core/java/android/speech/tts/
H A DVoice.java48 /** 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 DMobileDataStateTracker.java782 li.setTheoreticalLatency(entry.latency);
825 public int latency; // in millisecond field in class:MobileDataStateTracker.NetworkDataEntry
831 latency = i4;
/frameworks/av/media/libstagefright/wifi-display/source/
H A DWifiDisplaySource.cpp771 unsigned latency; local
772 if (sscanf(&s[prefixLen + 1], "%08x %02x", modes, &latency) != 2) {
/frameworks/av/media/libmedia/
H A DAudioSystem.cpp328 status_t AudioSystem::getOutputLatency(uint32_t* latency, audio_stream_type_t streamType) argument
341 return getLatency(output, latency);
345 uint32_t* latency)
355 *latency = af->latency(output);
358 *latency = outputDesc->latency;
361 ALOGV("getLatency() output %d, latency %d", output, *latency);
503 "latency
344 getLatency(audio_io_handle_t output, uint32_t* latency) argument
[all...]
H A DIAudioFlinger.cpp288 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/libmediaplayerservice/
H A DMediaPlayerService.cpp420 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 DEffects.cpp400 uint32_t latency = 0; local
403 latency = pbt->latency_l();
406 *((int32_t *)p->data + 1)= latency;
H A DAudioFlinger.cpp712 uint32_t AudioFlinger::latency(audio_io_handle_t output) const function in class:android::AudioFlinger
717 ALOGW("latency(): no playback thread found for output handle %d", output);
720 return thread->latency();
1796 *latencyMs = thread->latency();
H A DThreads.cpp1424 // to be at least 2 x the normal mixer frame count and cover audio hardware latency.
1549 uint32_t AudioFlinger::PlaybackThread::correctLatency_l(uint32_t latency) const
1551 return latency;
1554 uint32_t AudioFlinger::PlaybackThread::latency() const function in class:android::AudioFlinger::PlaybackThread
1622 // effectively get the latency it requested.
1744 desc.latency = latency_l();
2219 - device latency
2847 // This pipe depth compensates for scheduling latency of the normal mixer thread.
2848 // When it wakes up after a maximum latency, it runs a few cycles quickly before
2987 uint32_t AudioFlinger::MixerThread::correctLatency_l(uint32_t latency) cons
[all...]
/frameworks/av/services/audiopolicy/
H A DAudioPolicyManager.cpp676 // latency of any output where either strategy is active.
992 uint32_t latency = 0; local
1296 uint32_t latency = desc->latency(); local
1297 if (shouldWait && desc->isActive(latency * 2) && (waitMs < latency)) {
1298 waitMs = latency;
1379 // delay the device switch by twice the latency because stopOutput() is executed when
1381 // still contain data that needs to be drained. The latency only covers the audio HAL
1382 // and kernel buffers. Also the latency doe
4504 const uint32_t latency = desc->latency() * 2; local
5951 uint32_t AudioPolicyManager::AudioOutputDescriptor::latency() function in class:android::AudioPolicyManager::AudioOutputDescriptor
[all...]

Completed in 2309 milliseconds