Home
last modified time | relevance | path

Searched refs:mDataMQ (Results 1 – 2 of 2) sorted by relevance

/device/generic/goldfish/audio/
Dstream_in.cpp51 , mDataMQ(bufferSize, true /* EventFlag */) { in ReadThread()
56 if (!mDataMQ.isValid()) { in ReadThread()
68 status = EventFlag::createEventFlag(mDataMQ.getEventFlagWord(), &rawEfGroup); in ReadThread()
116 mSource = DevicePortSource::create(mDataMQ.getQuantumCount(), in threadLoop()
181 const size_t bytesToRead = std::min(mDataMQ.availableToWrite(), in doRead()
184 MQWriter writer(mDataMQ); in doRead()
210 DataMQ mDataMQ; member
411 *(t->mDataMQ.getDesc()), in prepareForReading()
Dstream_out.cpp53 , mDataMQ(mqBufferSize, true /* EventFlag */) { in WriteThread()
58 if (!mDataMQ.isValid()) { in WriteThread()
70 status = EventFlag::createEventFlag(mDataMQ.getEventFlagWord(), &rawEfGroup); in WriteThread()
118 mSink = DevicePortSink::create(mDataMQ.getQuantumCount(), in threadLoop()
187 MQReader reader(mDataMQ); in doWrite()
188 mSink->write(mStream->getEffectiveVolume(), mDataMQ.availableToRead(), reader); in doWrite()
218 DataMQ mDataMQ; member
424 *(t->mDataMQ.getDesc()), in prepareForWriting()