Home
last modified time | relevance | path

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

/hardware/interfaces/audio/core/all-versions/default/
DStreamOut.cpp325 Return<void> StreamOut::prepareForWriting(uint32_t frameSize, uint32_t framesCount, in prepareForWriting() argument
345 if (frameSize == 0 || framesCount == 0) { in prepareForWriting()
346 ALOGE("Null frameSize (%u) or framesCount (%u)", frameSize, framesCount); in prepareForWriting()
350 if (frameSize > Stream::MAX_BUFFER_SIZE / framesCount) { in prepareForWriting()
351 ALOGE("Buffer too big: %u*%u bytes > MAX_BUFFER_SIZE (%u)", frameSize, framesCount, in prepareForWriting()
356 std::unique_ptr<DataMQ> tempDataMQ(new DataMQ(frameSize * framesCount, true /* EventFlag */)); in prepareForWriting()
DStreamIn.cpp340 Return<void> StreamIn::prepareForReading(uint32_t frameSize, uint32_t framesCount, in prepareForReading() argument
360 if (frameSize == 0 || framesCount == 0) { in prepareForReading()
361 ALOGE("Null frameSize (%u) or framesCount (%u)", frameSize, framesCount); in prepareForReading()
366 if (frameSize > Stream::MAX_BUFFER_SIZE / framesCount) { in prepareForReading()
367 ALOGE("Buffer too big: %u*%u bytes > MAX_BUFFER_SIZE (%u)", frameSize, framesCount, in prepareForReading()
372 std::unique_ptr<DataMQ> tempDataMQ(new DataMQ(frameSize * framesCount, true /* EventFlag */)); in prepareForReading()
/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/core/all-versions/default/include/core/default/
DStreamIn.h103 Return<void> prepareForReading(uint32_t frameSize, uint32_t framesCount,
DStreamOut.h103 Return<void> 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.hal101 * @param framesCount the number of frames in a buffer.
113 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/vts/functional/
DAudioPrimaryHidlHalTest.h1290 static void testPrepareForReading(IStreamIn* stream, uint32_t frameSize, uint32_t framesCount) { in testPrepareForReading() argument
1293 ASSERT_OK(stream->prepareForReading(frameSize, framesCount, in testPrepareForReading()
1355 static void testPrepareForWriting(IStreamOut* stream, uint32_t frameSize, uint32_t framesCount) { in testPrepareForWriting() argument
1358 ASSERT_OK(stream->prepareForWriting(frameSize, framesCount, in testPrepareForWriting()