diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2013-11-01 21:41:14 +0100 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2013-11-01 21:41:14 +0100 |
commit | 87a915f831fa97cec0e7c061345c6bd1223decd3 (patch) | |
tree | bcc52abe2498a37551f5eca64029ae670a34e1b5 /streamer.h | |
parent | f30a353184a725089ec3f775632f22802e296e89 (diff) |
improved vis API
Diffstat (limited to 'streamer.h')
-rw-r--r-- | streamer.h | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -149,9 +149,15 @@ struct handler_s * streamer_get_handler (void); void -register_continuous_wavedata_listener (void *ctx, int type, void (*callback)(void *ctx, int type, ddb_waveformat_t *fmt, const float *data, int nsamples)); +vis_waveform_listen (void *ctx, void (*callback)(void *ctx, ddb_audio_data_t *data)); void -unregister_continuous_wavedata_listener (void *ctx, int type); +vis_waveform_unlisten (void *ctx); + +void +vis_spectrum_listen (void *ctx, void (*callback)(void *ctx, ddb_audio_data_t *data)); + +void +vis_spectrum_unlisten (void *ctx); #endif // __STREAMER_H |