diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2009-12-11 20:23:09 +0100 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2009-12-11 20:23:09 +0100 |
commit | 3dfee5bd02b3f264f3ccdf7513c5078b2806196c (patch) | |
tree | 87d247daa48cfcd0f49a410adc51a4e8abeda0d1 | |
parent | 08071100f074a02e3ce4698d9f5659b3eedf0668 (diff) |
updated output plugin API
-rw-r--r-- | deadbeef.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |