Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
panelcontrol
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
minus
panelcontrol
Commits
5a61dfa8
Commit
5a61dfa8
authored
Sep 15, 2019
by
minus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add header guards
parent
46276716
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
0 deletions
+22
-0
alsa.h
alsa.h
+5
-0
pa.h
pa.h
+5
-0
pa_siso_watch_list.h
pa_siso_watch_list.h
+5
-0
panelcontrol.h
panelcontrol.h
+7
-0
No files found.
alsa.h
View file @
5a61dfa8
#ifndef ALSA_H
#define ALSA_H
#include <alsa/asoundlib.h>
#include "panelcontrol.h"
...
...
@@ -11,3 +14,5 @@ void encoder_callback_add(enum encoder encoder, encoder_callback_fn cb, void *us
void
midi_button_led
(
snd_seq_t
*
seq
,
int
port
,
enum
button
button
,
enum
button_led_state
state
);
void
alsa
(
int
source
,
snd_seq_t
**
seq_ret
,
int
*
port_ret
);
#endif
pa.h
View file @
5a61dfa8
#ifndef PA_H
#define PA_H
extern
struct
siso_watch_list
sink_inputs
;
extern
struct
siso_watch_list
sinks
;
void
pa
();
#endif
pa_siso_watch_list.h
View file @
5a61dfa8
#ifndef PA_SISO_WATCH_LIST_H
#define PA_SISO_WATCH_LIST_H
#include <pulse/pulseaudio.h>
#include <stdbool.h>
...
...
@@ -29,3 +32,5 @@ uint32_t siso_watch_get_first_or_default(struct siso_watch *w, uint32_t default_
struct
siso_watch
*
siso_add_name
(
struct
siso_watch_list
*
wl
,
const
char
*
name
);
struct
siso_watch
*
siso_get
(
struct
siso_watch_list
*
wl
,
const
char
*
name
);
void
siso_remove_index
(
struct
siso_watch_list
*
wl
,
uint32_t
pa_index
);
#endif
panelcontrol.h
View file @
5a61dfa8
#ifndef PANELCONTROL_H
#define PANELCONTROL_H
#include "panelcontrol.h"
static
const
char
*
CLIENT_NAME
=
"panelcontrol"
;
enum
button
{
...
...
@@ -44,3 +49,5 @@ enum encoder {
ENC7
=
22
,
ENC8
=
23
,
};
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment