test/run_{input,output,convert}: switch file descriptors to binary mode
Fixes those programs on Windows.
This commit is contained in:
@@ -117,6 +117,8 @@ static void
|
||||
RunOutput(AudioOutput &ao, AudioFormat audio_format,
|
||||
FileDescriptor in_fd)
|
||||
{
|
||||
in_fd.SetBinaryMode();
|
||||
|
||||
/* open the audio output */
|
||||
|
||||
ao.Enable();
|
||||
|
Reference in New Issue
Block a user