Use boo::ObjToken for referencing voices

This commit is contained in:
Jack Andersen 2017-12-03 17:21:35 -10:00
parent 2bb0a9687e
commit 397d3b690c
4 changed files with 4 additions and 4 deletions

View File

@ -54,7 +54,7 @@ class CStaticAudioPlayer
}
AudioVoiceCallback(CStaticAudioPlayer& p) : m_parent(p) {}
} m_voiceCallback;
std::unique_ptr<boo::IAudioVoice> m_voice;
boo::ObjToken<boo::IAudioVoice> m_voice;
public:
CStaticAudioPlayer(boo::IAudioVoiceEngine& engine, std::string_view path,

View File

@ -258,7 +258,7 @@ struct SDSPStream : boo::IAudioVoiceCallback
return frames;
}
std::unique_ptr<boo::IAudioVoice> m_booVoice;
boo::ObjToken<boo::IAudioVoice> m_booVoice;
void DoAllocateStream()
{

2
amuse

@ -1 +1 @@
Subproject commit 2f4d0e75410f10fbbdd3d732ad9fec80f19b6f1d
Subproject commit 77215fc9964166decda12e65c68a1a2a0ea06757

2
hecl

@ -1 +1 @@
Subproject commit 7b5a3b61c1f01a13496a9483afa5470903847ca5
Subproject commit 90f0840eee5b9daf53f8368717ac930d5850e21f