mirror of https://github.com/AxioDL/metaforce.git
Use boo::ObjToken for referencing voices
This commit is contained in:
parent
2bb0a9687e
commit
397d3b690c
|
@ -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,
|
||||
|
|
|
@ -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
2
amuse
|
@ -1 +1 @@
|
|||
Subproject commit 2f4d0e75410f10fbbdd3d732ad9fec80f19b6f1d
|
||||
Subproject commit 77215fc9964166decda12e65c68a1a2a0ea06757
|
2
hecl
2
hecl
|
@ -1 +1 @@
|
|||
Subproject commit 7b5a3b61c1f01a13496a9483afa5470903847ca5
|
||||
Subproject commit 90f0840eee5b9daf53f8368717ac930d5850e21f
|
Loading…
Reference in New Issue