-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
valent-mixer.h
34 lines (25 loc) · 1.14 KB
/
valent-mixer.h
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
27
28
29
30
31
32
33
// SPDX-License-Identifier: GPL-3.0-or-later
// SPDX-FileCopyrightText: Andy Holmes <andrew.g.r.holmes@gmail.com>
#pragma once
#if !defined (VALENT_INSIDE) && !defined (VALENT_COMPILATION)
# error "Only <valent.h> can be included directly."
#endif
#include "../core/valent-component.h"
#include "valent-mixer-stream.h"
G_BEGIN_DECLS
#define VALENT_TYPE_MIXER (valent_mixer_get_type ())
VALENT_AVAILABLE_IN_1_0
G_DECLARE_FINAL_TYPE (ValentMixer, valent_mixer, VALENT, MIXER, ValentComponent)
VALENT_AVAILABLE_IN_1_0
ValentMixer * valent_mixer_get_default (void);
VALENT_AVAILABLE_IN_1_0
ValentMixerStream * valent_mixer_get_default_input (ValentMixer *mixer);
VALENT_AVAILABLE_IN_1_0
void valent_mixer_set_default_input (ValentMixer *mixer,
ValentMixerStream *stream);
VALENT_AVAILABLE_IN_1_0
ValentMixerStream * valent_mixer_get_default_output (ValentMixer *mixer);
VALENT_AVAILABLE_IN_1_0
void valent_mixer_set_default_output (ValentMixer *mixer,
ValentMixerStream *stream);
G_END_DECLS