summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--streamer.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/streamer.c b/streamer.c
index ede20df5..e7e1678f 100644
--- a/streamer.c
+++ b/streamer.c
@@ -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;
}
}