We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
public bool OpenFile(WaveStream stream, double tempo = 1) { Close(); try { var inputStream = new WaveChannel32(stream) { PadWithZeroes = false }; ProcessorStream = new SoundTouchWaveStream(inputStream); ProcessorStream.Tempo = tempo; _waveOut = new WaveOutEvent() { DesiredLatency = 200 }; _waveOut.Init(ProcessorStream); _waveOut.PlaybackStopped += OnPlaybackStopped; return true; } catch (Exception exp) { // Error in opening file _waveOut = null; StatusMessage.Write("Can't open file: " + exp.Message); return false; } }
Error: _waveOut.Init(ProcessorStream); throw winmm.dll assembly:<unknown assembly> type:<unknown type> member:(null)
winmm.dll assembly:<unknown assembly> type:<unknown type> member:(null)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Error:
_waveOut.Init(ProcessorStream); throw
winmm.dll assembly:<unknown assembly> type:<unknown type> member:(null)
The text was updated successfully, but these errors were encountered: