HomeSort by relevance Sort by last modified time
    Searched refs:fifo_frames_t (Results 1 - 8 of 8) sorted by null

  /frameworks/av/media/libaaudio/src/fifo/
FifoControllerBase.h 25 typedef int32_t fifo_frames_t; typedef in namespace:android
44 FifoControllerBase(fifo_frames_t capacity, fifo_frames_t threshold);
75 fifo_frames_t getFullFramesAvailable();
80 fifo_frames_t getReadIndex();
85 void advanceReadIndex(fifo_frames_t numFrames);
90 fifo_frames_t getEmptyFramesAvailable();
95 fifo_frames_t getWriteIndex();
100 void advanceWriteIndex(fifo_frames_t numFrames);
107 void setThreshold(fifo_frames_t threshold)
    [all...]
FifoControllerBase.cpp 26 FifoControllerBase::FifoControllerBase(fifo_frames_t capacity, fifo_frames_t threshold)
35 fifo_frames_t FifoControllerBase::getFullFramesAvailable() {
36 return (fifo_frames_t) (getWriteCounter() - getReadCounter());
39 fifo_frames_t FifoControllerBase::getReadIndex() {
41 return (fifo_frames_t) (getReadCounter() % mCapacity);
44 void FifoControllerBase::advanceReadIndex(fifo_frames_t numFrames) {
48 fifo_frames_t FifoControllerBase::getEmptyFramesAvailable() {
52 fifo_frames_t FifoControllerBase::getWriteIndex() {
54 return (fifo_frames_t) (getWriteCounter() % mCapacity)
    [all...]
FifoBuffer.h 40 FifoBuffer(int32_t bytesPerFrame, fifo_frames_t capacityInFrames);
43 fifo_frames_t capacityInFrames,
50 int32_t convertFramesToBytes(fifo_frames_t frames);
52 fifo_frames_t read(void *destination, fifo_frames_t framesToRead);
54 fifo_frames_t write(const void *source, fifo_frames_t framesToWrite);
56 fifo_frames_t getThreshold();
58 void setThreshold(fifo_frames_t threshold);
60 fifo_frames_t getBufferCapacityInFrames()
    [all...]
FifoBuffer.cpp 32 FifoBuffer::FifoBuffer(int32_t bytesPerFrame, fifo_frames_t capacityInFrames)
51 fifo_frames_t capacityInFrames,
78 int32_t FifoBuffer::convertFramesToBytes(fifo_frames_t frames) {
108 fifo_frames_t FifoBuffer::getFullDataAvailable(WrappingBuffer *wrappingBuffer) {
109 fifo_frames_t framesAvailable = mFifo->getFullFramesAvailable();
110 fifo_frames_t startIndex = mFifo->getReadIndex();
115 fifo_frames_t FifoBuffer::getEmptyRoomAvailable(WrappingBuffer *wrappingBuffer) {
116 fifo_frames_t framesAvailable = mFifo->getEmptyFramesAvailable();
117 fifo_frames_t startIndex = mFifo->getWriteIndex();
122 fifo_frames_t FifoBuffer::read(void *buffer, fifo_frames_t numFrames)
    [all...]
FifoControllerIndirect.h 36 FifoControllerIndirect(fifo_frames_t capacity,
37 fifo_frames_t threshold,
  /frameworks/av/services/oboeservice/
SharedRingBuffer.h 45 aaudio_result_t allocate(android::fifo_frames_t bytesPerFrame, android::fifo_frames_t capacityInFrames);
60 android::fifo_frames_t mCapacityInFrames = 0;
AAudioMixer.cpp 34 using android::fifo_frames_t;
55 fifo_frames_t framesLeft = mFramesPerBurst;
62 fifo_frames_t fullFrames = fifo->getFullDataAvailable(&wrappingBuffer);
78 fifo_frames_t framesToMix = framesLeft;
79 fifo_frames_t framesAvailable = wrappingBuffer.numFrames[partIndex];
SharedRingBuffer.cpp 40 aaudio_result_t SharedRingBuffer::allocate(fifo_frames_t bytesPerFrame,
41 fifo_frames_t capacityInFrames) {

Completed in 325 milliseconds