test/*: fix Windows build using class FromNarrowPath

This commit is contained in:
Max Kellermann
2020-04-02 16:40:18 +02:00
parent 4d453a8313
commit 9c66b0414a
12 changed files with 30 additions and 19 deletions

View File

@@ -19,6 +19,7 @@
#include "ConfigGlue.hxx"
#include "fs/Path.hxx"
#include "fs/NarrowPath.hxx"
#include "AudioParser.hxx"
#include "AudioFormat.hxx"
#include "filter/LoadOne.hxx"
@@ -68,7 +69,7 @@ try {
return EXIT_FAILURE;
}
const Path config_path = Path::FromFS(argv[1]);
const FromNarrowPath config_path = argv[1];
AudioFormat audio_format(44100, SampleFormat::S16, 2);