summaryrefslogtreecommitdiff
path: root/test/run_output.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/run_output.cxx')
-rw-r--r--test/run_output.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/run_output.cxx b/test/run_output.cxx
index 4fd3ff2ea..6d917600d 100644
--- a/test/run_output.cxx
+++ b/test/run_output.cxx
@@ -117,6 +117,8 @@ static void
RunOutput(AudioOutput &ao, AudioFormat audio_format,
FileDescriptor in_fd)
{
+ in_fd.SetBinaryMode();
+
/* open the audio output */
ao.Enable();