summaryrefslogtreecommitdiff
path: root/plugins/alsa
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-01-03 18:34:13 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-01-03 18:34:13 +0100
commitfa519319f3c31f7ca63740c953c35dd4dc9e4b4a (patch)
tree6ef9ed18d2db6c3a989d81f65f84c999c4b5e602 /plugins/alsa
parentde5bcbefc5817688baa32f85d7940ea8f41ba6e8 (diff)
compiler warning cleanup
Diffstat (limited to 'plugins/alsa')
-rw-r--r--plugins/alsa/alsa.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/plugins/alsa/alsa.c b/plugins/alsa/alsa.c
index 9be03fe8..2a5b9b2c 100644
--- a/plugins/alsa/alsa.c
+++ b/plugins/alsa/alsa.c
@@ -61,12 +61,6 @@ static int
palsa_stop (void);
static int
-palsa_isstopped (void);
-
-static int
-palsa_ispaused (void);
-
-static int
palsa_pause (void);
static int
@@ -373,17 +367,6 @@ palsa_stop (void) {
}
int
-palsa_isstopped (void) {
- return (state == 0);
-}
-
-int
-palsa_ispaused (void) {
- // return pause state
- return (state == 2);
-}
-
-int
palsa_pause (void) {
if (state == 0 || !audio) {
return -1;
@@ -559,7 +542,7 @@ palsa_configchanged (DB_event_t *ev, uintptr_t data) {
void
palsa_enum_soundcards (void (*callback)(const char *name, const char *desc, void *), void *userdata) {
void **hints, **n;
- char *name, *descr, *descr1, *io;
+ char *name, *descr, *io;
const char *filter = "Output";
if (snd_device_name_hint(-1, "pcm", &hints) < 0)
return;