This repository has been archived on 2025-09-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
alsa-scarlett-gui/src/widget-gain.h
Geoffrey D. Bennett 1c2d966763 Add GtkDial:can_control property
If the dial can't be controlled, it shouldn't be dimmed when it's not
sensitive.
2024-02-20 23:26:10 +10:30

22 lines
422 B
C

// SPDX-FileCopyrightText: 2022-2024 Geoffrey D. Bennett <g@b4.vu>
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
#include <gtk/gtk.h>
#include "alsa.h"
enum {
WIDGET_GAIN_TAPER_LINEAR,
WIDGET_GAIN_TAPER_LOG,
WIDGET_GAIN_TAPER_GEN4_VOLUME
};
GtkWidget *make_gain_alsa_elem(
struct alsa_elem *elem,
int zero_is_off,
int taper_type,
int can_control
);