Open lissyx opened 3 years ago
@carlfm01 As a quick fix, I've prepared a force of NAudio
v1.10.0 in my PR https://github.com/mozilla/DeepSpeech/pull/3539, but do you think we should investigate further?
Keeping this open until we figure out a proper fix.
- cp 'NAudio*/lib/net35/NAudio.dll' /c/builds/tc-workdir//tmp/ds/
Hello, with version 2 the lib changed to /lib/netstandard2.0/NAudio.dll
, I think is better to specify the version, just like your fix, without a specific version there's no guarantee that the path will stay the same under /lib/netstandard2.0/
- cp 'NAudio*/lib/net35/NAudio.dll' /c/builds/tc-workdir//tmp/ds/
Hello, with version 2 the lib changed to
/lib/netstandard2.0/NAudio.dll
, I think is better to specify the version, just like your fix, without a specific version there's no guarantee that the path will stay the same under/lib/netstandard2.0/
Ok, but several questions then:
Ok, it's not as trivial as expected:
Build FAILED.
"C:\builds\tc-workdir\DeepSpeech\ds\native_client\dotnet\DeepSpeechConsole\DeepSpeechConsole.csproj" (default target) (1) ->
(CoreCompile target) ->
Program.cs(84,42): error CS0246: The type or namespace name 'WaveBuffer' could not be found (are you missing a using directive or an assembly reference?) [C:\builds\tc-workdir\DeepSpeech\ds\native_client\dotnet\DeepSpeechConsole\DeepSpeechConsole.csproj]
Program.cs(85,47): error CS0246: The type or namespace name 'WaveFileReader' could not be found (are you missing a using directive or an assembly reference?) [C:\builds\tc-workdir\DeepSpeech\ds\native_client\dotnet\DeepSpeechConsole\DeepSpeechConsole.csproj]
@carlfm01 I checked in the repo and the namespace is still NAudio.Wave
: https://github.com/naudio/NAudio/blob/v2.0.0/NAudio.Core/Wave/WaveOutputs/WaveBuffer.cs#L4
I have no idea why it's not picking WaveBuffer
and WaveFileReader
anymore and I can't find proper usages examples of NAudio 2.0.0.
@carlfm01 Anything that you see obvious?