void Module_set_control(Module* module, int control, bool existent) { rassert(module != NULL); rassert(control >= 0); rassert(control < KQT_CONTROLS_MAX); Bit_array_set(module->au_controls, control, existent); return; }
void Device_thread_state_mark_input_port_connected(Device_thread_state* ts, int port) { rassert(ts != NULL); rassert(port >= 0); rassert(port < KQT_DEVICE_PORTS_MAX); Bit_array_set(ts->in_connected, port, true); return; }
void Pat_table_set_existent(Pat_table* table, int index, bool existent) { rassert(table != NULL); rassert(index >= 0); rassert(index < table->size); Bit_array_set(table->existents, index, existent); return; }
void DSP_table_set_existent(DSP_table* table, int index, bool existent) { assert(table != NULL); assert(index >= 0); assert(index < table->size); Bit_array_set(table->existents, index, existent); DSP* dsp = Etable_get(table->dsps, index); if (dsp != NULL) Device_set_existent((Device*)dsp, existent); return; }