From 8d43782c7415fea1ed98a02d708ad6ba84ae2763 Mon Sep 17 00:00:00 2001 From: waker Date: Sun, 28 Nov 2010 19:48:20 +0100 Subject: don't call setformat from streamer_reset - that spinlocks, because output plugin calls streamer_reset --- streamer.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'streamer.c') diff --git a/streamer.c b/streamer.c index cbef63a3..061380e4 100644 --- a/streamer.c +++ b/streamer.c @@ -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) { -- cgit v1.2.3