Home
last modified time | relevance | path

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

/system/bt/audio_hal_interface/
Dclient_interface.cc190 : sink_(sink), provider_(nullptr), session_started_(false), mDataMQ(nullptr), in BluetoothAudioClientInterface()
357 mDataMQ = std::move(tempDataMQ); in StartSession()
365 if (mDataMQ && mDataMQ->isValid()) { in StartSession()
370 ALOGE_IF(!mDataMQ, "Failed to obtain audio data path"); in StartSession()
371 ALOGE_IF(mDataMQ && !mDataMQ->isValid(), "Audio data path is invalid"); in StartSession()
423 mDataMQ = nullptr; in EndSession()
445 if (mDataMQ == nullptr || !mDataMQ->isValid()) break; in ReadAudioData()
447 size_t avail_to_read = mDataMQ->availableToRead(); in ReadAudioData()
452 if (mDataMQ->read(p_buf + total_read, avail_to_read) == 0) { in ReadAudioData()
Dclient_interface.h175 mDataMQ; variable