fprintf(stderr, "%s: Probed successfully.\n", address);
reset_device(internal_dev_index); // Restarts it if it is held (ie., we just replaced a dead card).
- if (global_audio_mixer) {
- global_audio_mixer->trigger_state_changed_callback();
- }
+
+ DeviceSpec spec{InputSourceType::ALSA_INPUT, internal_dev_index};
+ global_audio_mixer->set_name(spec, name + " (" + info + ")");
+ global_audio_mixer->trigger_state_changed_callback();
return ALSAPool::ProbeResult::SUCCESS;
}
limiter(OUTPUT_FREQUENCY),
correlation(OUTPUT_FREQUENCY)
{
+ global_audio_mixer = this;
+
for (unsigned bus_index = 0; bus_index < MAX_BUSES; ++bus_index) {
locut[bus_index].init(FILTER_HPF, 2);
locut_enabled[bus_index] = global_flags.locut_enabled;