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 /deadbeef.h | |
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 'deadbeef.h')
-rw-r--r-- | deadbeef.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |