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/services/audiopolicy/common/managerdefinitions/include/
H A DAudioOutputDescriptor.h51 virtual uint32_t latency() { return 0; } function in class:android::AudioOutputDescriptor
107 virtual uint32_t latency();
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioOutputDescriptor.cpp288 uint32_t SwAudioOutputDescriptor::latency() function in class:android::SwAudioOutputDescriptor
/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/av/include/media/
H A DAudioRecord.h155 * 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 DAudioTrack.h180 * 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/media/libstagefright/wifi-display/source/
H A DWifiDisplaySource.cpp777 unsigned latency; local
778 if (sscanf(&s[prefixLen + 1], "%08x %02x", modes, &latency) != 2) {
/frameworks/av/media/libmedia/
H A DAudioSystem.cpp327 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 DIAudioFlinger.cpp302 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/services/audioflinger/
H A DEffects.cpp408 uint32_t latency = 0; local
411 latency = pbt->latency_l();
414 *((int32_t *)p->data + 1)= latency;
H A DAudioFlinger.cpp777 uint32_t AudioFlinger::latency(audio_io_handle_t output) const function in class:android::AudioFlinger
782 ALOGW("latency(): no playback thread found for output handle %d", output);
785 return thread->latency();
1915 *latencyMs = thread->latency();
H A DThreads.cpp1809 // to be at least 2 x the normal mixer frame count and cover audio hardware latency.
1935 uint32_t AudioFlinger::PlaybackThread::correctLatency_l(uint32_t latency) const
1937 return latency;
1940 uint32_t AudioFlinger::PlaybackThread::latency() const function in class:android::AudioFlinger::PlaybackThread
2006 // effectively get the latency it requested.
2638 - device latency
3506 // This pipe depth compensates for scheduling latency of the normal mixer thread.
3507 // When it wakes up after a maximum latency, it runs a few cycles quickly before
3643 uint32_t AudioFlinger::MixerThread::correctLatency_l(uint32_t latency) const
3647 latency
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp384 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/managerdefault/
H A DAudioPolicyManager.cpp498 // 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...]

Completed in 406 milliseconds