diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-01-29 21:56:35 +0100 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-01-29 21:56:35 +0100 |
commit | 35ccc1dc4a3e98bd10882bab72fcb22414ab4ac2 (patch) | |
tree | db0682fa9307732d8f3454ba4e42b9188b1166fe /plugins/alsa | |
parent | 716c68998f9f0465dc8b2b0dc03adc6c9b5e16e2 (diff) |
made some functions in alsa module static
Diffstat (limited to 'plugins/alsa')
-rw-r--r-- | plugins/alsa/alsa.c | 8 |
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; |