summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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