/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 | 51 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 D | AudioOutputDescriptor.cpp | 288 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 | 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 | 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/media/libeffects/visualizer/ |
H A D | EffectVisualizer.cpp | 62 #define MAX_LATENCY_MS 3000 // 3 seconds of latency for audio pipeline 542 uint32_t latency = *((uint32_t *)p->data + 1); local 543 if (latency > MAX_LATENCY_MS) { 544 latency = MAX_LATENCY_MS; // clamp latency b/31781965 546 pContext->mLatency = latency; 547 ALOGV("set mLatency = %u", latency); 590 // large sample rate, latency, or capture size, could cause overflow.
|
/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 | 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/services/audioflinger/ |
H A D | Effects.cpp | 430 uint32_t latency = 0; local 433 latency = pbt->latency_l(); 436 *((int32_t *)p->data + 1)= latency;
|
H A D | AudioFlinger.cpp | 780 uint32_t AudioFlinger::latency(audio_io_handle_t output) const function in class:android::AudioFlinger 785 ALOGW("latency(): no playback thread found for output handle %d", output); 788 return thread->latency(); 1924 *latencyMs = thread->latency();
|
H A D | Threads.cpp | 1276 // always allow effects without processing load or latency 1338 // always allow effects without processing load or latency 1974 // to be at least 2 x the normal mixer frame count and cover audio hardware latency. 2100 uint32_t AudioFlinger::PlaybackThread::correctLatency_l(uint32_t latency) const 2102 return latency; 2105 uint32_t AudioFlinger::PlaybackThread::latency() const function in class:android::AudioFlinger::PlaybackThread 2171 // effectively get the latency it requested. 2805 - device latency 3694 // This pipe depth compensates for scheduling latency of the normal mixer thread. 3695 // When it wakes up after a maximum latency, i [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 388 snprintf(buffer, 255, " msec per frame(%f), latency (%d)\n", 389 mMsecsPerFrame, (mTrack != 0) ? mTrack->latency() : -1); 1499 uint32_t MediaPlayerService::AudioOutput::latency () const function in class:android::MediaPlayerService::AudioOutput 1503 return mTrack->latency(); 1556 // the max latency should be about 25ms with an average around 12ms (to be verified). 1572 numFramesPlayedAt += 1000LL * mTrack->latency() / 2; /* XXX */ 1584 // (2) In case 3, using getPosition and adding mAudioSink->latency() to
|
/frameworks/av/services/audiopolicy/managerdefault/ |
H A D | AudioPolicyManager.cpp | 507 // latency of any output where either strategy is active. 515 (delayMs < (int)desc->latency()*2)) { 516 delayMs = desc->latency()*2; 1212 uint32_t latency = desc->latency(); local 1213 if (shouldWait && desc->isActive(latency * 2) && (waitMs < latency)) { 1214 waitMs = latency; 1309 // delay the device switch by twice the latency because stopOutput() is executed when 1311 // still contain data that needs to be drained. The latency onl 4525 const uint32_t latency = desc->latency() * 2; local [all...] |