diff options
author | waker <wakeroid@gmail.com> | 2010-11-28 17:24:14 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2010-11-28 17:24:14 +0100 |
commit | 0cf1d57bc3dab11f773d23a25db0c3d18f6cfe52 (patch) | |
tree | fb00bd49e8bdbccbe6643cddf3319878396be237 /deadbeef.h | |
parent | 78cebdb0a267effe32fe196c04124692b04ec9db (diff) |
ported supereq to new api; converted to float; added reentrancy support
Diffstat (limited to 'deadbeef.h')
-rw-r--r-- | deadbeef.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -307,7 +307,6 @@ typedef struct { float (*playback_get_pos) (void); // [0..100] void (*playback_set_pos) (float pos); // [0..100] // streamer access - // FIXME: needs to be thread-safe DB_playItem_t *(*streamer_get_playing_track) (void); DB_playItem_t *(*streamer_get_streaming_track) (void); float (*streamer_get_playpos) (void); @@ -319,6 +318,7 @@ typedef struct { int (*streamer_get_apx_bitrate) (void); struct DB_fileinfo_s *(*streamer_get_current_fileinfo) (void); int (*streamer_get_current_playlist) (void); + struct DB_dsp_instance_s * (*streamer_get_dsp_chain) (void); // system folders // normally functions will return standard folders derived from --prefix // portable version will return pathes specified in comments below @@ -763,7 +763,11 @@ typedef struct DB_dsp_s { // samples are interleaved // returned value is number of output frames - int (*process) (DB_dsp_instance_t *inst, float *samples, int frames, int channels); + int (*process) (DB_dsp_instance_t *inst, float *samples, int frames, int samplerate, int channels); + + void (*reset) (DB_dsp_instance_t *inst); + + void (*enable) (DB_dsp_instance_t *inst, int e); } DB_dsp_t; |