summaryrefslogtreecommitdiff
path: root/src/lib/butler.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-06-01 14:23:56 +0100
committerCarl Hetherington <cth@carlh.net>2017-06-01 14:23:56 +0100
commit3c86d70cf46ca11212ae2e2f4d711db0f478c2f5 (patch)
tree5b160eca7b1569eeecb8203b39bb98b97e1fa617 /src/lib/butler.cc
parent769ce034cbb2f95f01dba3d22f7bd554ecb14f3e (diff)
Re-add missing audio mapping in butler for preview.
Diffstat (limited to 'src/lib/butler.cc')
-rw-r--r--src/lib/butler.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/butler.cc b/src/lib/butler.cc
index bf9fedceb..fde8e459b 100644
--- a/src/lib/butler.cc
+++ b/src/lib/butler.cc
@@ -20,6 +20,7 @@
#include "butler.h"
#include "player.h"
+#include "util.h"
#include <boost/weak_ptr.hpp>
#include <boost/shared_ptr.hpp>
@@ -183,7 +184,7 @@ Butler::audio (shared_ptr<AudioBuffers> audio)
}
}
- _audio.put (audio);
+ _audio.put (remap (audio, _audio_channels, _audio_mapping));
}
void