summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-05-17 22:19:55 +0200
committerGravatar waker <wakeroid@gmail.com>2011-05-17 22:19:55 +0200
commit31519fd0e5b473a4ad7e994dc0914f811ee3d8d0 (patch)
treeb0aa831f69de85c48dad66c2a8f2c2ba677e3caa
parent32088a97db0412d9bc758ed7febc7dae906fabdf (diff)
fixed regression in streamer format switching
-rw-r--r--streamer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/streamer.c b/streamer.c
index 6cdbcc98..60b6907a 100644
--- a/streamer.c
+++ b/streamer.c
@@ -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 ();