Searched refs:obtainBuffer (Results 1 - 7 of 7) sorted by relevance

/frameworks/av/include/media/
H A DAudioRecord.h61 /* Create Buffer on the stack and pass it to obtainBuffer()
227 * obtainBuffer returns STOPPED. Note that obtainBuffer() still works
308 * filled entirely. If the track is stopped, obtainBuffer() returns
312 * is exhausted, at which point obtainBuffer() will either block
322 status_t obtainBuffer(Buffer* audioBuffer, int32_t waitCount);
327 * This is implemented on top of obtainBuffer/releaseBuffer.
H A DAudioTrack.h62 /* Client should declare Buffer on the stack and pass address to obtainBuffer()
258 * obtainBuffer returns STOPPED. Note that obtainBuffer() still works
270 * obtainBuffer returns STOPPED. Note that obtainBuffer() still works
413 * If the track is stopped, obtainBuffer() returns
417 * is exhausted, at which point obtainBuffer() will either block
432 status_t obtainBuffer(Buffer* audioBuffer, int32_t waitCount);
438 * This is implemented on top of obtainBuffer/releaseBuffer. For best
444 * NO_MORE_BUFFERS when obtainBuffer() return
[all...]
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp108 // it is looping on buffer empty condition in obtainBuffer().
499 status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, int32_t waitCount) function in class:android::AudioRecord
542 ALOGW( "obtainBuffer timed out (is the CPU pegged?) "
554 ALOGW("obtainBuffer create Track error %d", result);
653 // obtainBuffer() we give a chance to recover once for a read timeout
656 status_t err = obtainBuffer(&audioBuffer, ((2 * MAX_RUN_TIMEOUT_MS) / WAIT_PERIOD_MS));
713 // Calling obtainBuffer() with a wait count of 1
716 status_t err = obtainBuffer(&audioBuffer, 1);
H A DAudioTrack.cpp166 // it is looping on buffer full condition in obtainBuffer().
483 // in AudioTrack::obtainBuffer()
937 status_t AudioTrack::obtainBuffer(Buffer* audioBuffer, int32_t waitCount) function in class:android::AudioTrack
991 ALOGW( "obtainBuffer timed out (is the CPU pegged?) %p name=%#x"
1003 ALOGW("obtainBuffer create Track error %d", result);
1101 status_t err = obtainBuffer(&audioBuffer, -1);
1247 // See description of waitCount parameter at declaration of obtainBuffer().
1248 // The logic below prevents us from being stuck below at obtainBuffer()
1259 status_t err = obtainBuffer(&audioBuffer, waitCount);
1327 fromStart ? "start()" : "obtainBuffer()", getti
[all...]
/frameworks/base/voip/jni/rtp/
H A DAudioGroup.cpp879 status_t status = track.obtainBuffer(&buffer, 1);
895 status_t status = record.obtainBuffer(&buffer, 1);
/frameworks/av/services/audioflinger/
H A DAudioFlinger.h926 status_t obtainBuffer(AudioBufferProvider::Buffer* buffer, uint32_t waitTimeMs);
H A DAudioFlinger.cpp5545 if (obtainBuffer(&mOutBuffer, waitTimeLeftMs) == (status_t)NO_MORE_BUFFERS) {
5616 status_t AudioFlinger::PlaybackThread::OutputTrack::obtainBuffer(AudioBufferProvider::Buffer* buffer, uint32_t waitTimeMs) function in class:android::AudioFlinger::PlaybackThread::OutputTrack
5623 // ALOGV("OutputTrack::obtainBuffer user %d, server %d", cblk->user, cblk->server);

Completed in 148 milliseconds