| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
#pragma once |
| 5 |
|
| 6 |
#include "alsa.h" |
| 7 |
#include "biquad.h" |
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
void dsp_state_init(struct alsa_card *card); |
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
struct alsa_elem *dsp_state_get_enable_elem( |
| 21 |
struct alsa_card *card, |
| 22 |
const char *filter_type, |
| 23 |
int channel, |
| 24 |
int stage |
| 25 |
); |
| 26 |
|
| 27 |
struct alsa_elem *dsp_state_get_type_elem( |
| 28 |
struct alsa_card *card, |
| 29 |
const char *filter_type, |
| 30 |
int channel, |
| 31 |
int stage |
| 32 |
); |
| 33 |
|
| 34 |
struct alsa_elem *dsp_state_get_freq_elem( |
| 35 |
struct alsa_card *card, |
| 36 |
const char *filter_type, |
| 37 |
int channel, |
| 38 |
int stage |
| 39 |
); |
| 40 |
|
| 41 |
struct alsa_elem *dsp_state_get_q_elem( |
| 42 |
struct alsa_card *card, |
| 43 |
const char *filter_type, |
| 44 |
int channel, |
| 45 |
int stage |
| 46 |
); |
| 47 |
|
| 48 |
struct alsa_elem *dsp_state_get_gain_elem( |
| 49 |
struct alsa_card *card, |
| 50 |
const char *filter_type, |
| 51 |
int channel, |
| 52 |
int stage |
| 53 |
); |