Debian Codegraph @

src/compressor-curve.h

raw symbols SCIP
1 // SPDX-FileCopyrightText: 2025 Geoffrey D. Bennett <[email protected]>
2 // SPDX-License-Identifier: GPL-3.0-or-later
3
4 #pragma once
5
6 #include <gtk/gtk.h>
7
8 G_BEGIN_DECLS
9
10 #define GTK_TYPE_COMPRESSOR_CURVE (gtk_compressor_curve_get_type())
11
12 G_DECLARE_FINAL_TYPE(
13 GtkCompressorCurve,
14 gtk_compressor_curve,
15 GTK,
16 COMPRESSOR_CURVE,
17 GtkWidget
18 )
19
20 GtkWidget *gtk_compressor_curve_new(void);
21
22 void gtk_compressor_curve_set_threshold(GtkCompressorCurve *curve, int threshold);
23 void gtk_compressor_curve_set_ratio(GtkCompressorCurve *curve, int ratio);
24 void gtk_compressor_curve_set_knee_width(GtkCompressorCurve *curve, int knee_width);
25 void gtk_compressor_curve_set_makeup_gain(GtkCompressorCurve *curve, int makeup_gain);
26 void gtk_compressor_curve_set_dsp_enabled(GtkCompressorCurve *curve, gboolean enabled);
27 void gtk_compressor_curve_set_levels(
28 GtkCompressorCurve *curve,
29 double input_db,
30 double output_db
31 );
32
33 G_END_DECLS