Home
last modified time | relevance | path

Searched refs:framesCount (Results 1 – 15 of 15) sorted by relevance

/hardware/interfaces/audio/core/all-versions/default/
DStreamIn.cpp362 Return<void> StreamIn::prepareForReading(uint32_t frameSize, uint32_t framesCount, in prepareForReading() argument
386 if (frameSize == 0 || framesCount == 0) { in prepareForReading()
387 ALOGE("Null frameSize (%u) or framesCount (%u)", frameSize, framesCount); in prepareForReading()
392 if (frameSize > Stream::MAX_BUFFER_SIZE / framesCount) { in prepareForReading()
393 ALOGE("Buffer too big: %u*%u bytes > MAX_BUFFER_SIZE (%u)", frameSize, framesCount, in prepareForReading()
398 std::unique_ptr<DataMQ> tempDataMQ(new DataMQ(frameSize * framesCount, true /* EventFlag */)); in prepareForReading()
DStreamOut.cpp349 Return<void> StreamOut::prepareForWriting(uint32_t frameSize, uint32_t framesCount, in prepareForWriting() argument
373 if (frameSize == 0 || framesCount == 0) { in prepareForWriting()
374 ALOGE("Null frameSize (%u) or framesCount (%u)", frameSize, framesCount); in prepareForWriting()
378 if (frameSize > Stream::MAX_BUFFER_SIZE / framesCount) { in prepareForWriting()
379 ALOGE("Buffer too big: %u*%u bytes > MAX_BUFFER_SIZE (%u)", frameSize, framesCount, in prepareForWriting()
384 std::unique_ptr<DataMQ> tempDataMQ(new DataMQ(frameSize * framesCount, true /* EventFlag */)); in prepareForWriting()
/hardware/interfaces/audio/2.0/
DIStreamIn.hal101 * @param framesCount the number of frames in a buffer.
114 prepareForReading(uint32_t frameSize, uint32_t framesCount)
DIStreamOut.hal95 * @param framesCount the number of frames in a buffer.
107 prepareForWriting(uint32_t frameSize, uint32_t framesCount)
/hardware/interfaces/audio/4.0/
DIStreamIn.hal107 * @param framesCount the number of frames in a buffer.
120 prepareForReading(uint32_t frameSize, uint32_t framesCount)
DIStreamOut.hal101 * @param framesCount the number of frames in a buffer.
113 prepareForWriting(uint32_t frameSize, uint32_t framesCount)
/hardware/interfaces/audio/6.0/
DIStreamIn.hal107 * @param framesCount the number of frames in a buffer.
120 prepareForReading(uint32_t frameSize, uint32_t framesCount)
DIStreamOut.hal102 * @param framesCount the number of frames in a buffer.
114 prepareForWriting(uint32_t frameSize, uint32_t framesCount)
/hardware/interfaces/audio/5.0/
DIStreamIn.hal107 * @param framesCount the number of frames in a buffer.
120 prepareForReading(uint32_t frameSize, uint32_t framesCount)
DIStreamOut.hal101 * @param framesCount the number of frames in a buffer.
113 prepareForWriting(uint32_t frameSize, uint32_t framesCount)
/hardware/interfaces/audio/core/all-versions/default/include/core/default/
DStreamIn.h111 Return<void> prepareForReading(uint32_t frameSize, uint32_t framesCount,
DStreamOut.h110 Return<void> prepareForWriting(uint32_t frameSize, uint32_t framesCount,
/hardware/interfaces/audio/7.0/
DIStreamIn.hal116 * @param framesCount the number of frames in a buffer.
131 prepareForReading(uint32_t frameSize, uint32_t framesCount)
DIStreamOut.hal110 * @param framesCount the number of frames in a buffer.
124 prepareForWriting(uint32_t frameSize, uint32_t framesCount)
/hardware/interfaces/audio/core/all-versions/vts/functional/
DAudioPrimaryHidlHalTest.h1667 uint32_t framesCount) { in testPrepareForReading() argument
1670 ASSERT_OK(stream->prepareForReading(frameSize, framesCount, in testPrepareForReading()
1719 uint32_t frameSize, uint32_t framesCount) { in testPrepareForWriting() argument
1722 ASSERT_OK(stream->prepareForWriting(frameSize, framesCount, in testPrepareForWriting()