summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-12-11 20:23:09 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-12-11 20:23:09 +0100
commit3dfee5bd02b3f264f3ccdf7513c5078b2806196c (patch)
tree87d247daa48cfcd0f49a410adc51a4e8abeda0d1
parent08071100f074a02e3ce4698d9f5659b3eedf0668 (diff)
updated output plugin API
-rw-r--r--deadbeef.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/deadbeef.h b/deadbeef.h
index 76271477..5bbe4660 100644
--- a/deadbeef.h
+++ b/deadbeef.h
@@ -444,6 +444,8 @@ typedef struct {
int (*init) (void (*callback)(char *stream, int len));
// free is called if output plugin was changed to another, or unload is about to happen
int (*free) (void);
+ // reconfigure output to another samplerate, if supported
+ int (*change_rate) (int rate);
// play, stop, pause, unpause are called by deadbeef in response to user
// events, or as part of streaming process
// state must be 0 for stopped, 1 for playing and 2 for paused