blob: 708d05cea0c3caf997046c2c659c7e02c85b152d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef _DWXINFO_PULSE_H_
#define _DWXINFO_PULSE_H_
#include <stdbool.h>
#define PULSE_VALUE_SIZE 5
typedef struct pa_mainloop pa_mainloop;
typedef struct pa_context pa_context;
struct pulse {
pa_mainloop * ml;
pa_context * ctx;
char * default_sink;
bool run_loop;
char value[PULSE_VALUE_SIZE];
};
struct pulse * pulse_new();
void pulse_free(struct pulse *);
void pulse_update(struct pulse *);
#endif
|