void del_DSP_table(DSP_table* table) { if (table == NULL) return; del_Etable(table->dsps); del_Bit_array(table->existents); memory_free(table); return; }
void del_Pat_table(Pat_table* table) { if (table == NULL) return; del_Etable(table->pats); del_Bit_array(table->existents); memory_free(table); return; }
void del_Device_thread_state(Device_thread_state* ts) { if (ts == NULL) return; del_Bit_array(ts->in_connected); for (Device_buffer_type buf_type = DEVICE_BUFFER_MIXED; buf_type < DEVICE_BUFFER_TYPES; ++buf_type) { for (Device_port_type port_type = DEVICE_PORT_TYPE_RECV; port_type < DEVICE_PORT_TYPES; ++port_type) del_Etable(ts->buffers[buf_type][port_type]); } memory_free(ts); return; }