diff options
author | waker <wakeroid@gmail.com> | 2011-05-17 22:19:55 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2011-05-17 22:19:55 +0200 |
commit | 31519fd0e5b473a4ad7e994dc0914f811ee3d8d0 (patch) | |
tree | b0aa831f69de85c48dad66c2a8f2c2ba677e3caa | |
parent | 32088a97db0412d9bc758ed7febc7dae906fabdf (diff) |
fixed regression in streamer format switching
-rw-r--r-- | streamer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -980,7 +980,7 @@ 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 (); } - if (output->state () != OUTPUT_STATE_PLAYING) { + if (0 != output->play ()) { // give a chance to DSP plugins to convert format to something // supported streamer_set_generic_output_format (); |