Searched refs:framesCount (Results 1 – 15 of 15) sorted by relevance
/hardware/interfaces/audio/core/all-versions/default/ |
D | StreamIn.cpp | 362 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()
|
D | StreamOut.cpp | 349 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/ |
D | IStreamIn.hal | 101 * @param framesCount the number of frames in a buffer. 114 prepareForReading(uint32_t frameSize, uint32_t framesCount)
|
D | IStreamOut.hal | 95 * @param framesCount the number of frames in a buffer. 107 prepareForWriting(uint32_t frameSize, uint32_t framesCount)
|
/hardware/interfaces/audio/4.0/ |
D | IStreamIn.hal | 107 * @param framesCount the number of frames in a buffer. 120 prepareForReading(uint32_t frameSize, uint32_t framesCount)
|
D | IStreamOut.hal | 101 * @param framesCount the number of frames in a buffer. 113 prepareForWriting(uint32_t frameSize, uint32_t framesCount)
|
/hardware/interfaces/audio/6.0/ |
D | IStreamIn.hal | 107 * @param framesCount the number of frames in a buffer. 120 prepareForReading(uint32_t frameSize, uint32_t framesCount)
|
D | IStreamOut.hal | 102 * @param framesCount the number of frames in a buffer. 114 prepareForWriting(uint32_t frameSize, uint32_t framesCount)
|
/hardware/interfaces/audio/5.0/ |
D | IStreamIn.hal | 107 * @param framesCount the number of frames in a buffer. 120 prepareForReading(uint32_t frameSize, uint32_t framesCount)
|
D | IStreamOut.hal | 101 * @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/ |
D | StreamIn.h | 111 Return<void> prepareForReading(uint32_t frameSize, uint32_t framesCount,
|
D | StreamOut.h | 110 Return<void> prepareForWriting(uint32_t frameSize, uint32_t framesCount,
|
/hardware/interfaces/audio/7.0/ |
D | IStreamIn.hal | 116 * @param framesCount the number of frames in a buffer. 131 prepareForReading(uint32_t frameSize, uint32_t framesCount)
|
D | IStreamOut.hal | 110 * @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/ |
D | AudioPrimaryHidlHalTest.h | 1667 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()
|