diff options
author | waker <wakeroid@gmail.com> | 2011-01-10 20:31:54 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-01-10 21:02:40 +0100 |
commit | bad68f332469178ffb81a0dd2ac74ae62301af72 (patch) | |
tree | c6b2d0387a145511d12198e9035368cb8b178f3b /plugins/nullout | |
parent | 822c99debf259c6648654143abc9d772ea447f73 (diff) |
fixed resume in paused state;
changed output plugin setformat method to return error code
changed setformat to restore state before the call
Diffstat (limited to 'plugins/nullout')
-rw-r--r-- | plugins/nullout/nullout.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/nullout/nullout.c b/plugins/nullout/nullout.c index fa9ef5ed..4fbd6a0c 100644 --- a/plugins/nullout/nullout.c +++ b/plugins/nullout/nullout.c @@ -46,7 +46,7 @@ pnull_init (void); static int pnull_free (void); -void +int pnull_setformat (ddb_waveformat_t *fmt); static int @@ -70,9 +70,10 @@ pnull_init (void) { return 0; } -void +int pnull_setformat (ddb_waveformat_t *fmt) { memcpy (&plugin.fmt, fmt, sizeof (ddb_waveformat_t)); + return 0; } int |