aboutsummaryrefslogtreecommitdiffstats
path: root/src/libsendevolumenregler/sendevolumenregler.h
blob: 2bc916b7fd3b0e09d6448bebcc4fab6581c88d1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
typedef struct sendevolumenregler {
	double	peak;
	double	envelope;
	double	step_up;
	double	step_down;
	double	minimum_level;
	double	maximum_level;
	double	dbm0_level;
} sendevolumenregler_t;

void init_sendevolumenregler(sendevolumenregler_t *state, double samplerate, double abwaerts_dbs, double aufwaerts_dbs, double maximum_db, double minimum_db, double dbm0_level);
void sendevolumenregler(sendevolumenregler_t *state, sample_t *samples, int num);