124 |
app->signal_switch_sampler_instrument().connect( |
app->signal_switch_sampler_instrument().connect( |
125 |
sigc::mem_fun(*this, &LinuxSamplerPlugin::__requestSamplerToSwitchInstrument) |
sigc::mem_fun(*this, &LinuxSamplerPlugin::__requestSamplerToSwitchInstrument) |
126 |
); |
); |
127 |
|
app->signal_script_to_be_changed.connect( |
128 |
|
sigc::bind( |
129 |
|
sigc::mem_fun( |
130 |
|
*this, &LinuxSamplerPlugin::NotifyDataStructureToBeChanged |
131 |
|
), |
132 |
|
"gig::Script" |
133 |
|
) |
134 |
|
); |
135 |
|
app->signal_script_changed.connect( |
136 |
|
sigc::bind( |
137 |
|
sigc::mem_fun( |
138 |
|
*this, &LinuxSamplerPlugin::NotifyDataStructureChanged |
139 |
|
), |
140 |
|
"gig::Script" |
141 |
|
) |
142 |
|
); |
143 |
|
|
144 |
// register a timeout job to gigedit's main loop, so we can poll the |
// register a timeout job to gigedit's main loop, so we can poll the |
145 |
// the sampler periodically for MIDI events (I HOPE it works on all |
// the sampler periodically for MIDI events (I HOPE it works on all |