Skip to content
New issue

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

NAudio: Object reference not set to an instance of an object. #570

Open
Cameron-Gonzalez opened this issue Jul 26, 2021 · 0 comments
Open

Comments

@Cameron-Gonzalez
Copy link

Please provide us with the following information:

This issue is for a: (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Use the Windows Voice Assistant to connect to an AI that is published to an Azure Web Bot Service
AI behaves as expected when you ask it questions or give it commands
Randomly, the application will have the log error below and interrupt the audio playback

Any log messages given by the failure

"StackTraceString": " at NAudio.Wave.WaveOutEvent.DisposeBuffers()\r\n at NAudio.Wave.WaveOutEvent.Init(IWaveProvider waveProvider)\r\n at VoiceAssistantClient.MainWindow.PlayFromAudioQueue() in D:\a\1\s\clients\csharp-wpf\VoiceAssistantClient\MainWindow.xaml.cs:line 737\r\n at VoiceAssistantClient.MainWindow.Player_PlaybackStopped(Object sender, StoppedEventArgs e) in D:\a\1\s\clients\csharp-wpf\VoiceAssistantClient\MainWindow.xaml.cs:line 582\r\n at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)"

Expected/desired behavior

AI speech not interrupted by audio playback issues within the application

OS and Version?

Windows 10

Versions

1.17

Mention any other details that might be useful


Thanks! We'll be in touch soon.

@Cameron-Gonzalez Cameron-Gonzalez changed the title NAudio NAudio: Object reference not set to an instance of an object. Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant