Home
last modified time | relevance | path

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

/hardware/interfaces/audio/core/all-versions/default/
DStreamIn.cpp337 Return<void> StreamIn::prepareForReading(uint32_t frameSize, uint32_t framesCount, in prepareForReading() argument
357 if (frameSize == 0 || framesCount == 0) { in prepareForReading()
358 ALOGE("Null frameSize (%u) or framesCount (%u)", frameSize, framesCount); in prepareForReading()
363 if (frameSize > Stream::MAX_BUFFER_SIZE / framesCount) { in prepareForReading()
364 ALOGE("Buffer too big: %u*%u bytes > MAX_BUFFER_SIZE (%u)", frameSize, framesCount, in prepareForReading()
369 std::unique_ptr<DataMQ> tempDataMQ(new DataMQ(frameSize * framesCount, true /* EventFlag */)); in prepareForReading()
DStreamOut.cpp321 Return<void> StreamOut::prepareForWriting(uint32_t frameSize, uint32_t framesCount, in prepareForWriting() argument
341 if (frameSize == 0 || framesCount == 0) { in prepareForWriting()
342 ALOGE("Null frameSize (%u) or framesCount (%u)", frameSize, framesCount); in prepareForWriting()
346 if (frameSize > Stream::MAX_BUFFER_SIZE / framesCount) { in prepareForWriting()
347 ALOGE("Buffer too big: %u*%u bytes > MAX_BUFFER_SIZE (%u)", frameSize, framesCount, in prepareForWriting()
352 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/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/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.h1060 static void testPrepareForReading(IStreamIn* stream, uint32_t frameSize, uint32_t framesCount) { in testPrepareForReading() argument
1063 ASSERT_OK(stream->prepareForReading(frameSize, framesCount, in testPrepareForReading()
1125 static void testPrepareForWriting(IStreamOut* stream, uint32_t frameSize, uint32_t framesCount) { in testPrepareForWriting() argument
1128 ASSERT_OK(stream->prepareForWriting(frameSize, framesCount, in testPrepareForWriting()