ckb-next
v0.2.8 at branch master
ckb-next driver for corsair devices
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
media.h
Go to the documentation of this file.
1
#ifndef MEDIA_H
2
#define MEDIA_H
3
4
#ifdef __cplusplus
5
6
#define EXTERN_C extern "C"
7
#define ENUM_C(name) enum name
8
#define ENUM_END_C(name)
9
10
#else
11
12
#define EXTERN_C extern
13
#define ENUM_C(name) typedef enum
14
#define ENUM_END_C(name) name
15
16
#endif
17
18
// Gets the default audio device's mute state
19
ENUM_C
(
muteState
) {
20
UNKNOWN
= -1,
21
UNMUTED
,
22
MUTED
23
}
ENUM_END_C
(
muteState
);
24
EXTERN_C
muteState
getMuteState
();
25
26
#endif
UNKNOWN
Definition:
media.h:20
ENUM_C
#define ENUM_C(name)
Definition:
media.h:13
muteState
muteState
Definition:
media.h:19
getMuteState
muteState getMuteState()
Definition:
media_linux.cpp:102
UNMUTED
Definition:
media.h:21
EXTERN_C
#define EXTERN_C
Definition:
media.h:12
MUTED
Definition:
media.h:22
ENUM_END_C
#define ENUM_END_C(name)
Definition:
media.h:14
src
ckb
media.h
Generated on Sat Jan 20 2018 16:59:28 for ckb-next by
1.8.6