diff options
author | 2011-05-22 12:13:45 +0200 | |
---|---|---|
committer | 2011-05-22 12:13:45 +0200 | |
commit | 3a2bd3125cf0950f19d29e42ccceb492300ff13c (patch) | |
tree | abc8f47826656a5efe00b7accd0167987dbc4d0d /streamer.c | |
parent | 89746d84af75e6454e647385856a8cf103da0321 (diff) |
fixed regression in streamer dsp chain caused by adding pass-through feature
Diffstat (limited to 'streamer.c')
-rw-r--r-- | streamer.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1713,8 +1713,13 @@ streamer_read_async (char *bytes, int size) { // check if DSP can be passed through ddb_dsp_context_t *dsp = dsp_chain; while (dsp) { - if (dsp->enabled && dsp->plugin->plugin.api_vminor >= 1) { - if (dsp->plugin->pass_through && !dsp->plugin->pass_through (dsp, &dspfmt)) { + if (dsp->enabled) { + if (dsp->plugin->plugin.api_vminor >= 1) { + if (dsp->plugin->pass_through && !dsp->plugin->pass_through (dsp, &dspfmt)) { + break; + } + } + else { break; } } |