blob: eb14ad29dc0cb416797fce10eb99b8f08c6bd688 (
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
|
#ifndef PA_SINK_CTL_H
#define PA_SINK_CTL_H
#include <stdio.h>
#include <pulse/pulseaudio.h>
#include <ncurses.h>
#include <string.h>
#include <stdlib.h>
#include "sink_input.h"
#include "sink.h"
#include "interface.h"
#define VOLUME_MAX UINT16_MAX
#define VOLUME_BAR_LEN 50
#define WIDTH 80
#define HEIGHT 10
void context_state_callback(pa_context*, void *);
void get_sink_info_callback(pa_context *, const pa_sink_info *, int, void *);
void get_sink_input_info_callback(pa_context *, const pa_sink_input_info*, int, void *);
void change_callback(pa_context* c, int success, void* userdate);
void quit(void);
#endif
|