MRI: Bind Audio.setup_midi

This commit is contained in:
Jonas Kulla 2016-09-12 20:16:39 +02:00
parent d4e09f55bd
commit 0ec1fce4ac
1 changed files with 11 additions and 0 deletions

View File

@ -97,6 +97,15 @@ DEF_FADE( me )
DEF_PLAY_STOP( se ) DEF_PLAY_STOP( se )
RB_METHOD(audioSetupMidi)
{
RB_UNUSED_PARAM;
shState->audio().setupMidi();
return Qnil;
}
RB_METHOD(audioReset) RB_METHOD(audioReset)
{ {
RB_UNUSED_PARAM; RB_UNUSED_PARAM;
@ -135,6 +144,8 @@ audioBindingInit()
{ {
BIND_POS( bgm ); BIND_POS( bgm );
BIND_POS( bgs ); BIND_POS( bgs );
_rb_define_module_function(module, "setup_midi", audioSetupMidi);
} }
BIND_PLAY_STOP( se ) BIND_PLAY_STOP( se )