diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2009-12-27 16:06:57 +0100 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2009-12-27 16:06:57 +0100 |
commit | 1522d68ba866d47e0d9c12bc4df28d7e71407705 (patch) | |
tree | 18a82f08a0ae55445feb8849cd554096a3c106f2 /plugins/nullout | |
parent | 94dd735f3c45b43ca00eaba4f22ef8440259e142 (diff) |
fixed a bunch of minor compiler warnings and alsa hang on exit
Diffstat (limited to 'plugins/nullout')
-rw-r--r-- | plugins/nullout/nullout.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/plugins/nullout/nullout.c b/plugins/nullout/nullout.c index 5f3dd996..1e08121b 100644 --- a/plugins/nullout/nullout.c +++ b/plugins/nullout/nullout.c @@ -55,12 +55,6 @@ static int pnull_stop (void); static int -pnull_isstopped (void); - -static int -pnull_ispaused (void); - -static int pnull_pause (void); static int @@ -126,17 +120,6 @@ pnull_stop (void) { } int -pnull_isstopped (void) { - return (state == OUTPUT_STATE_STOPPED); -} - -int -pnull_ispaused (void) { - // return pause state - return (state == OUTPUT_STATE_PAUSED); -} - -int pnull_pause (void) { if (state == OUTPUT_STATE_STOPPED) { return -1; @@ -182,7 +165,6 @@ pnull_get_endianness (void) { static void pnull_thread (void *context) { prctl (PR_SET_NAME, "deadbeef-null", 0, 0, 0, 0); - int err; for (;;) { if (null_terminate) { break; |