diff options
author | waker <wakeroid@gmail.com> | 2011-02-07 21:48:18 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-02-07 21:48:18 +0100 |
commit | 083e9b711cdd5f255e09dfb040a9fd93e97c1774 (patch) | |
tree | ecc3cb2301d33db22fd1222e38ad300fe9e0fbac /streamer.c | |
parent | 55226102b75499e710ffff74444b04ca33078b91 (diff) |
fixed mono playback
Diffstat (limited to 'streamer.c')
-rw-r--r-- | streamer.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -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)); |