Exemple #1
0
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;
}
Exemple #2
0
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;
}
Exemple #3
0
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;
}
Exemple #4
0
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;
}