Searched refs:framesCount (Results 1 – 13 of 13) sorted by relevance
/hardware/interfaces/audio/core/all-versions/default/ |
D | StreamOut.cpp | 325 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()
|
D | StreamIn.cpp | 340 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/ |
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/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 | 101 * @param framesCount the number of frames in a buffer. 113 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 | 1290 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()
|