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

/frameworks/base/voip/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.h92 static status_t getOutputLatency(uint32_t* latency, audio_stream_type_t stream = AUDIO_STREAM_DEFAULT);
101 // returns the audio output stream latency in ms. Corresponds to
105 uint32_t* latency);
155 : samplingRate(0), format(AUDIO_FORMAT_DEFAULT), channels(0), frameCount(0), latency(0) {}
161 uint32_t latency; member in class:android::AudioSystem::OutputDescriptor
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp220 // TODO: add audio hardware input latency here
240 uint32_t AudioRecord::latency() const function in class:android::AudioRecord
H A DAudioSystem.cpp298 status_t AudioSystem::getOutputLatency(uint32_t* latency, audio_stream_type_t streamType) argument
311 return getLatency(output, streamType, latency);
316 uint32_t* latency)
326 *latency = af->latency(output);
328 *latency = outputDesc->latency;
332 ALOGV("getLatency() streamType %d, output %d, latency %d", streamType, output, *latency);
452 ALOGV("ioConfigChanged() new output samplingRate %d, format %d channels %#x frameCount %d latency
314 getLatency(audio_io_handle_t output, audio_stream_type_t streamType, uint32_t* latency) argument
[all...]
H A DAudioTrack.cpp81 // Ensure that buffer depth covers at least audio hardware latency
332 uint32_t AudioTrack::latency() const function in class:android::AudioTrack
835 // Ensure that buffer depth covers at least audio hardware latency
1448 snprintf(buffer, 255, " active(%d), latency (%d)\n", mActive, mLatency);
H A DIAudioFlinger.cpp218 virtual uint32_t latency(audio_io_handle_t output) const function in class:android::BpAudioFlinger
381 uint32_t latency = pLatencyMs ? *pLatencyMs : 0; local
389 data.writeInt32(latency);
402 latency = reply.readInt32();
403 if (pLatencyMs) *pLatencyMs = latency;
784 reply->writeInt32( latency((audio_io_handle_t) data.readInt32()) );
887 uint32_t latency = data.readInt32(); local
894 &latency,
902 reply->writeInt32(latency);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DWifiDisplaySource.cpp513 // 1 byte latency
652 unsigned latency; local
653 if (sscanf(&s[prefixLen + 1], "%08x %02x", modes, &latency) != 2) {
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorPlayer.cpp369 uint32_t VideoEditorPlayer::VeAudioOutput::latency () const function in class:android::VideoEditorPlayer::VeAudioOutput
467 mLatency = t->latency();
570 snprintf(buffer, SIZE-1, " msec per frame(%f), latency (%d)\n",
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp330 snprintf(buffer, 255, " msec per frame(%f), latency (%d)\n",
331 mMsecsPerFrame, (mTrack != 0) ? mTrack->latency() : -1);
1349 uint32_t MediaPlayerService::AudioOutput::latency () const function in class:android::MediaPlayerService::AudioOutput
1352 return mTrack->latency();
1686 uint32_t MediaPlayerService::AudioCache::latency () const function in class:android::MediaPlayerService::AudioCache
/frameworks/av/services/audioflinger/
H A DAudioFlinger.cpp593 uint32_t AudioFlinger::latency(audio_io_handle_t output) const function in class:android::AudioFlinger
598 ALOGW("latency() unknown thread %d", output);
601 return thread->latency();
1776 // to be at least 2 x the normal mixer frame count and cover audio hardware latency.
1874 uint32_t AudioFlinger::MixerThread::correctLatency(uint32_t latency) const
1878 latency += (pipe->getAvgFrames() * 1000) / mSampleRate;
1880 return latency;
1883 uint32_t AudioFlinger::PlaybackThread::correctLatency(uint32_t latency) const
1885 return latency;
1888 uint32_t AudioFlinger::PlaybackThread::latency() cons function in class:android::AudioFlinger::PlaybackThread
8477 uint32_t latency = 0; local
[all...]

Completed in 136 milliseconds