On Sunday, 24 June 2018 at 01:43:41 UTC, ANtlord wrote:
On Sunday, 24 June 2018 at 01:26:48 UTC, ANtlord wrote:Actually I get it worked replacing `string filepath2` by `char[] filepath2` but filepath is string still and it works correctly.It doesn't work
Vorbis is a C library, so you need to null terminate your string using toStringz. The reason why the one from the command line works is because it is already null terminate.