| 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 | |
| 8 | // Structure to store input gain widget and its routing source |
| 9 | struct input_gain_widget { |
| 10 | GtkWidget *widget; |
| 11 | int port_num; // 1-based port number |
| 12 | struct routing_src *r_src; // routing source for level lookup |
| 13 | }; |
| 14 | |
| 15 | // Structure to store output gain widget and its routing sink |
| 16 | struct output_gain_widget { |
| 17 | GtkWidget *widget; |
| 18 | int port_num; // 1-based port number |
| 19 | struct routing_snk *r_snk; // routing sink for level lookup |
| 20 | }; |
| 21 | |
| 22 | GtkWidget *create_iface_mixer_main(struct alsa_card *card); |