mirror of
https://github.com/mozilla/DeepSpeech.git
synced 2025-10-26 11:19:39 +00:00
Merge 56bc5cc4e5 into 6913ae817b
This commit is contained in:
commit
90be10db06
@ -35,8 +35,8 @@
|
||||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="NAudio, Version=1.8.5.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\NAudio.1.8.5\lib\net35\NAudio.dll</HintPath>
|
||||
<Reference Include="NAudio, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\NAudio.2.0.0\lib\netstandard2.0\NAudio.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
@ -67,4 +67,4 @@
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
</Project>
|
||||
|
||||
@ -81,8 +81,8 @@ namespace CSharpExamples
|
||||
}
|
||||
|
||||
string audioFile = audio ?? "arctic_a0024.wav";
|
||||
var waveBuffer = new WaveBuffer(File.ReadAllBytes(audioFile));
|
||||
using (var waveInfo = new WaveFileReader(audioFile))
|
||||
var waveBuffer = new NAudio.Wave.WaveBuffer(File.ReadAllBytes(audioFile));
|
||||
using (var waveInfo = new NAudio.Wave.WaveFileReader(audioFile))
|
||||
{
|
||||
Console.WriteLine("Running inference....");
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="NAudio" version="1.8.5" targetFramework="net462" />
|
||||
</packages>
|
||||
<package id="NAudio" version="2.0.0" targetFramework="net462" />
|
||||
</packages>
|
||||
|
||||
@ -61,8 +61,8 @@
|
||||
<Reference Include="GalaSoft.MvvmLight.Platform, Version=5.4.1.0, Culture=neutral, PublicKeyToken=5f873c45e98af8a1, processorArchitecture=MSIL">
|
||||
<HintPath>packages\MvvmLightLibs.5.4.1.1\lib\net45\GalaSoft.MvvmLight.Platform.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="NAudio, Version=1.9.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>packages\NAudio.1.9.0\lib\net35\NAudio.dll</HintPath>
|
||||
<Reference Include="NAudio, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>packages\NAudio.2.0.0\lib\netstandard2.0\NAudio.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
|
||||
@ -5,5 +5,5 @@
|
||||
<package id="CommonServiceLocator" version="2.0.2" targetFramework="net462" />
|
||||
<package id="CSCore" version="1.2.1.2" targetFramework="net462" />
|
||||
<package id="MvvmLightLibs" version="5.4.1.1" targetFramework="net462" />
|
||||
<package id="NAudio" version="1.9.0" targetFramework="net462" />
|
||||
</packages>
|
||||
<package id="NAudio" version="2.0.0" targetFramework="net462" />
|
||||
</packages>
|
||||
|
||||
@ -34,8 +34,8 @@ install_nuget()
|
||||
|
||||
ls -halR "${PROJECT_NAME}.${DS_VERSION}"
|
||||
|
||||
nuget install NAudio -Version 1.10.0
|
||||
cp NAudio*/lib/net35/NAudio.dll ${TASKCLUSTER_TMP_DIR}/ds/
|
||||
nuget install NAudio -Version 2.0.0
|
||||
cp NAudio*/lib/netstandard2.0/NAudio.dll ${TASKCLUSTER_TMP_DIR}/ds/
|
||||
cp ${PROJECT_NAME}.${DS_VERSION}/build/libdeepspeech.so ${TASKCLUSTER_TMP_DIR}/ds/
|
||||
cp ${PROJECT_NAME}.${DS_VERSION}/lib/net46/DeepSpeechClient.dll ${TASKCLUSTER_TMP_DIR}/ds/
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user