summaryrefslogtreecommitdiff
path: root/plugins/alsa
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-01-29 21:56:35 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-01-29 21:56:35 +0100
commit35ccc1dc4a3e98bd10882bab72fcb22414ab4ac2 (patch)
treedb0682fa9307732d8f3454ba4e42b9188b1166fe /plugins/alsa
parent716c68998f9f0465dc8b2b0dc03adc6c9b5e16e2 (diff)
made some functions in alsa module static
Diffstat (limited to 'plugins/alsa')
-rw-r--r--plugins/alsa/alsa.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/alsa/alsa.c b/plugins/alsa/alsa.c
index 3a0c6649..2017907c 100644
--- a/plugins/alsa/alsa.c
+++ b/plugins/alsa/alsa.c
@@ -590,7 +590,7 @@ palsa_configchanged (DB_event_t *ev, uintptr_t data) {
}
// derived from alsa-utils/aplay.c
-void
+static void
palsa_enum_soundcards (void (*callback)(const char *name, const char *desc, void *), void *userdata) {
void **hints, **n;
char *name, *descr, *io;
@@ -618,18 +618,18 @@ palsa_enum_soundcards (void (*callback)(const char *name, const char *desc, void
snd_device_name_free_hint(hints);
}
-int
+static int
palsa_get_state (void) {
return state;
}
-int
+static int
alsa_start (void) {
deadbeef->ev_subscribe (DB_PLUGIN (&plugin), DB_EV_CONFIGCHANGED, DB_CALLBACK (palsa_configchanged), 0);
return 0;
}
-int
+static int
alsa_stop (void) {
deadbeef->ev_unsubscribe (DB_PLUGIN (&plugin), DB_EV_CONFIGCHANGED, DB_CALLBACK (palsa_configchanged), 0);
return 0;