| 1 | // SPDX-FileCopyrightText: 2022-2025 Geoffrey D. Bennett <[email protected]> |
| 2 | // SPDX-License-Identifier: GPL-3.0-or-later |
| 3 | |
| 4 | #pragma once |
| 5 | |
| 6 | #include "alsa.h" |
| 7 | #include "compressor-curve.h" |
| 8 | |
| 9 | // Structure to store compressor curve widget and its routing elements |
| 10 | struct dsp_comp_widget { |
| 11 | GtkCompressorCurve *curve; |
| 12 | struct routing_snk *input_snk; // DSP Input sink |
| 13 | struct routing_src *output_src; // DSP Output source |
| 14 | }; |
| 15 | |
| 16 | GtkWidget *create_dsp_controls(struct alsa_card *card); |