summaryrefslogtreecommitdiff
path: root/streamer.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-04-09 12:37:38 +0200
committerGravatar waker <wakeroid@gmail.com>2011-04-09 12:37:38 +0200
commit68770c18d708b4994bc40c3e565df0ad92256f51 (patch)
tree2e298a858f2dc97cc5ad4352ed487d91fda791eb /streamer.c
parenteea16090d28aa085ca0c3222511bae5a7edd3262 (diff)
fixed streamer switching output format all the time when dsp is active
Diffstat (limited to 'streamer.c')
-rw-r--r--streamer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/streamer.c b/streamer.c
index 7d687b5c..e2c1f1b0 100644
--- a/streamer.c
+++ b/streamer.c
@@ -1604,6 +1604,7 @@ streamer_read_async (char *bytes, int size) {
outfmt.channels = dspfmt.channels;
outfmt.samplerate = dspfmt.samplerate;
outfmt.channelmask = dspfmt.channelmask;
+ outfmt.is_bigendian = fileinfo->fmt.is_bigendian;
if (memcmp (&output_format, &outfmt, sizeof (ddb_waveformat_t)) && bytes_until_next_song <= 0) {
memcpy (&output_format, &outfmt, sizeof (ddb_waveformat_t));
streamer_set_output_format ();