mirror of
https://github.com/overte-org/overte.git
synced 2025-08-11 09:53:30 +02:00
fix comments
This commit is contained in:
parent
49b3fc8674
commit
2777ad0397
2 changed files with 3 additions and 3 deletions
|
@ -186,8 +186,8 @@ void AvatarMixer::start() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// NOTE: nodeData->getAvatar() might be side effected, must be called when access to node/nodeData
|
// NOTE: nodeData->getAvatar() might be side affected, must be called when access to node/nodeData
|
||||||
// is guarenteed to not be accessed by other thread
|
// is guaranteed to not be accessed by other thread
|
||||||
void AvatarMixer::manageDisplayName(const SharedNodePointer& node) {
|
void AvatarMixer::manageDisplayName(const SharedNodePointer& node) {
|
||||||
AvatarMixerClientData* nodeData = reinterpret_cast<AvatarMixerClientData*>(node->getLinkedData());
|
AvatarMixerClientData* nodeData = reinterpret_cast<AvatarMixerClientData*>(node->getLinkedData());
|
||||||
if (nodeData && nodeData->getAvatarSessionDisplayNameMustChange()) {
|
if (nodeData && nodeData->getAvatarSessionDisplayNameMustChange()) {
|
||||||
|
|
|
@ -49,7 +49,7 @@ private:
|
||||||
bool _stop { false };
|
bool _stop { false };
|
||||||
};
|
};
|
||||||
|
|
||||||
// Slave pool for audio mixers
|
// Slave pool for avatar mixers
|
||||||
// AvatarMixerSlavePool is not thread-safe! It should be instantiated and used from a single thread.
|
// AvatarMixerSlavePool is not thread-safe! It should be instantiated and used from a single thread.
|
||||||
class AvatarMixerSlavePool {
|
class AvatarMixerSlavePool {
|
||||||
using Queue = tbb::concurrent_queue<SharedNodePointer>;
|
using Queue = tbb::concurrent_queue<SharedNodePointer>;
|
||||||
|
|
Loading…
Reference in a new issue