INNER CODE UNIT · C++
sharedParentStream
google/oboe · src/aaudio/AudioStreamAAudio.cpp:101
sharedParentStream = sharedStream->getParentStream()->lockWeakThis();
}
return {true, sharedStream, sharedParentStream};
}
return {false, nullptr, nullptr};
}
private:
// Private constructor to prevent direct instantiation
AAudioStreamCollection() = default;
std::mutex mLock;
std::set<AudioStreamAAudio*> mStreams;
};
// 'C' wrapper for the data callback method
static aaudio_data_callback_result_t oboe_aaudio_data_callback_proc(
AAudioStream *stream,