Searched refs:framesCount (Results 1 – 11 of 11) sorted by relevance
/hardware/interfaces/audio/core/all-versions/default/ |
D | StreamIn.cpp | 337 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()
|
D | StreamOut.cpp | 321 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/ |
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/core/all-versions/default/include/core/default/ |
D | StreamIn.h | 103 Return<void> prepareForReading(uint32_t frameSize, uint32_t framesCount,
|
D | StreamOut.h | 103 Return<void> 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/vts/functional/ |
D | AudioPrimaryHidlHalTest.h | 1060 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()
|