Debian Codegraph @

src/window-preferences.h

raw symbols SCIP
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 #define DEFAULT_LEVELS_INTERVAL_MS 50
9
10 // Convert levels update rate in Hz to interval in ms.
11 // Returns DEFAULT_LEVELS_INTERVAL_MS for unrecognised values.
12 int levels_hz_to_ms(int hz);
13
14 // Load per-card preferences from optional state into card struct
15 void load_preferences(struct alsa_card *card);
16
17 GtkWidget *create_preferences_controls(struct alsa_card *card);