Searched refs:obtainBuffer (Results 1 - 7 of 7) sorted by relevance
/frameworks/av/include/media/ |
H A D | AudioRecord.h | 53 /* Create Buffer on the stack and pass it to obtainBuffer() 201 * obtainBuffer returns STOPPED. Note that obtainBuffer() still works 282 * filled entirely. If the track is stopped, obtainBuffer() returns 286 * is exhausted, at which point obtainBuffer() will either block 296 status_t obtainBuffer(Buffer* audioBuffer, int32_t waitCount); 301 * This is implemented on top of obtainBuffer/releaseBuffer.
|
H A D | AudioTrack.h | 62 /* 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 D | AudioRecord.cpp | 103 // it is looping on buffer empty condition in obtainBuffer(). 474 status_t AudioRecord::obtainBuffer(Buffer* audioBuffer, int32_t waitCount) function in class:android::AudioRecord 517 ALOGW( "obtainBuffer timed out (is the CPU pegged?) " 529 ALOGW("obtainBuffer create Track error %d", result); 628 // obtainBuffer() we give a chance to recover once for a read timeout 631 status_t err = obtainBuffer(&audioBuffer, ((2 * MAX_RUN_TIMEOUT_MS) / WAIT_PERIOD_MS)); 698 // Calling obtainBuffer() with a wait count of 1 701 status_t err = obtainBuffer(&audioBuffer, 1); 738 // otherwise we would have exited when obtainBuffer returned STOPPED earlier.
|
H A D | AudioTrack.cpp | 172 // it is looping on buffer full condition in obtainBuffer(). 489 // in AudioTrack::obtainBuffer() 943 status_t AudioTrack::obtainBuffer(Buffer* audioBuffer, int32_t waitCount) function in class:android::AudioTrack 997 ALOGW( "obtainBuffer timed out (is the CPU pegged?) %p name=%#x" 1009 ALOGW("obtainBuffer create Track error %d", result); 1107 status_t err = obtainBuffer(&audioBuffer, -1); 1253 // See description of waitCount parameter at declaration of obtainBuffer(). 1254 // The logic below prevents us from being stuck below at obtainBuffer() 1265 status_t err = obtainBuffer(&audioBuffer, waitCount); 1333 fromStart ? "start()" : "obtainBuffer()", getti [all...] |
/frameworks/base/voip/jni/rtp/ |
H A D | AudioGroup.cpp | 879 status_t status = track.obtainBuffer(&buffer, 1); 895 status_t status = record.obtainBuffer(&buffer, 1);
|
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.h | 1016 status_t obtainBuffer(AudioBufferProvider::Buffer* buffer, uint32_t waitTimeMs);
|
H A D | AudioFlinger.cpp | 5589 if (obtainBuffer(&mOutBuffer, waitTimeLeftMs) == (status_t)NO_MORE_BUFFERS) { 5660 status_t AudioFlinger::PlaybackThread::OutputTrack::obtainBuffer(AudioBufferProvider::Buffer* buffer, uint32_t waitTimeMs) function in class:android::AudioFlinger::PlaybackThread::OutputTrack 5667 // ALOGV("OutputTrack::obtainBuffer user %d, server %d", cblk->user, cblk->server);
|
Completed in 276 milliseconds