summaryrefslogtreecommitdiff
path: root/deadbeef.h
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-01-10 20:31:54 +0100
committerGravatar waker <wakeroid@gmail.com>2011-01-10 21:02:40 +0100
commitbad68f332469178ffb81a0dd2ac74ae62301af72 (patch)
treec6b2d0387a145511d12198e9035368cb8b178f3b /deadbeef.h
parent822c99debf259c6648654143abc9d772ea447f73 (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 'deadbeef.h')
-rw-r--r--deadbeef.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/deadbeef.h b/deadbeef.h
index 5a51b04f..5efd7156 100644
--- a/deadbeef.h
+++ b/deadbeef.h
@@ -734,8 +734,8 @@ typedef struct DB_output_s {
int (*init) (void);
// free is called if output plugin was changed to another, or unload is about to happen
int (*free) (void);
- // reconfigure output to another format, if supported
- void (*setformat) (ddb_waveformat_t *fmt);
+ // reconfigure output to another format
+ int (*setformat) (ddb_waveformat_t *fmt);
// play, stop, pause, unpause are called by deadbeef in response to user
// events, or as part of streaming process
int (*play) (void);