mirror of https://github.com/AxioDL/metaforce.git
Merge pull request #164 from lioncash/midi
CMidiManager: std::move sequencer within SetAudioSysHandle()
This commit is contained in:
commit
e192a44ed7
|
@ -30,7 +30,7 @@ public:
|
||||||
|
|
||||||
public:
|
public:
|
||||||
amuse::ObjToken<amuse::Sequencer> GetAudioSysHandle() const { return x0_sequencer; }
|
amuse::ObjToken<amuse::Sequencer> GetAudioSysHandle() const { return x0_sequencer; }
|
||||||
void SetAudioSysHandle(amuse::ObjToken<amuse::Sequencer> sequencer) { x0_sequencer = sequencer; }
|
void SetAudioSysHandle(amuse::ObjToken<amuse::Sequencer> sequencer) { x0_sequencer = std::move(sequencer); }
|
||||||
// const CSfxHandle& GetManagerHandle() const { return x4_handle; }
|
// const CSfxHandle& GetManagerHandle() const { return x4_handle; }
|
||||||
// void SetMidiHandle(const CSfxHandle& handle) { x4_handle = handle; }
|
// void SetMidiHandle(const CSfxHandle& handle) { x4_handle = handle; }
|
||||||
bool IsAvailable() const { return xa_available; }
|
bool IsAvailable() const { return xa_available; }
|
||||||
|
|
Loading…
Reference in New Issue