Home
last modified time | relevance | path

Searched refs:mHalFrameSize (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/services/audioflinger/datapath/
DAudioStreamIn.cpp102 status = stream->getFrameSize(&mHalFrameSize); in open()
104 LOG_ALWAYS_FATAL_IF(mHalFrameSize == 0, "Error frame size was %zu but must be greater than" in open()
105 " zero", mHalFrameSize); in open()
131 if (result == OK && *read > 0 && mHalFrameSize > 0) { in read()
132 mFramesRead += *read / mHalFrameSize; in read()
DAudioStreamOut.cpp134 status = stream->getFrameSize(&mHalFrameSize); in open()
136 LOG_ALWAYS_FATAL_IF(mHalFrameSize == 0, "Error frame size was %zu but must be greater than" in open()
137 " zero", mHalFrameSize); in open()
177 if (result == OK && bytesWritten > 0 && mHalFrameSize > 0) { in write()
178 mFramesWritten += bytesWritten / mHalFrameSize; in write()
DAudioStreamOut.h76 [[nodiscard]] virtual size_t getFrameSize() const { return mHalFrameSize; } in getFrameSize()
98 size_t mHalFrameSize = 0; variable
DAudioStreamIn.h65 [[nodiscard]] virtual size_t getFrameSize() const { return mHalFrameSize; } in getFrameSize()
84 size_t mHalFrameSize = 0; variable