diff options
author | waker <wakeroid@gmail.com> | 2010-11-28 19:48:20 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2010-11-28 19:48:20 +0100 |
commit | 8d43782c7415fea1ed98a02d708ad6ba84ae2763 (patch) | |
tree | 8b8c07fe19b865a1e0c6fb072347976762d37c43 /streamer.c | |
parent | 94b6a12589c250c83b24150db7536006b355041e (diff) |
don't call setformat from streamer_reset - that spinlocks, because output plugin calls streamer_reset
Diffstat (limited to 'streamer.c')
-rw-r--r-- | streamer.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -1196,16 +1196,11 @@ streamer_reset (int full) { // must be called when current song changes by exter } if (full) { streamer_lock (); - if (prevformat.samplerate) { - DB_output_t *output = plug_get_output (); - if (output) { - output->setformat (&prevformat); - } - } streambuffer_pos = 0; streambuffer_fill = 0; streamer_unlock (); } + // reset dsp DB_dsp_instance_t *dsp = dsp_chain; while (dsp) { |