From 083e9b711cdd5f255e09dfb040a9fd93e97c1774 Mon Sep 17 00:00:00 2001 From: waker Date: Mon, 7 Feb 2011 21:48:18 +0100 Subject: fixed mono playback --- streamer.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'streamer.c') diff --git a/streamer.c b/streamer.c index 20204fa1..03ea23d7 100644 --- a/streamer.c +++ b/streamer.c @@ -829,15 +829,6 @@ streamer_start_new_song (void) { fprintf (stderr, "streamer_set_output_format %dbit %s %dch %dHz channelmask=%X\n", output_format.bps, output_format.is_float ? "float" : "int", output_format.channels, output_format.samplerate, output_format.channelmask); streamer_set_output_format (); } - else if (output->state () != OUTPUT_STATE_PLAYING) { - // might have failed last time, set default params - output_format.bps = 16; - output_format.is_float = 0; - output_format.channels = 2; - output_format.samplerate = 44100; - output_format.channelmask = 3; - streamer_set_output_format (); - } if (output->state () != OUTPUT_STATE_PLAYING) { if (0 != output->play ()) { memset (&output_format, 0, sizeof (output_format)); -- cgit v1.2.3