diff options
Diffstat (limited to 'deadbeef.h')
-rw-r--r-- | deadbeef.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -824,8 +824,15 @@ typedef struct { // returns data size in bytes // fmt and data will be filled with last bytes that came to the output plugin // data size must be float[DDB_AUDIO_MEMORY_FRAMES] + // type is one of DDB_AUDIO_WAVEFORM and DDB_AUDIO_FREQ void (*audio_get_waveform_data) (int type, float *data); + // register/unregister for getting continuous wave data + // mainly for visualization + // ctx must be unique + void (*register_continuous_wavedata_listener) (void *ctx, void (*callback)(void *ctx, ddb_waveformat_t *fmt, const float *data, int nsamples)); + void (*unregister_continuous_wavedata_listener) (void *ctx); + // this is useful to mute/unmute audio, and query the muted status, from // plugins, without touching the volume control void (*audio_set_mute) (int mute); |