Kim Togo Andersen
Kim Togo Andersen
Add `buffered: true` does the trick for me in interface.
@yatsenchee `_out.Play()` is not at blocking methode. When `_out` goes out of scope in try-catch, it is cleanup by GC. Try wait for PlaybackStopped event, before going forward in code.
WasapiOut PlayThread is set to backgound thread. See https://github.com/naudio/NAudio/blob/f8568cd4ad20c0683389cc9bc878beb945528047/NAudio.Wasapi/WasapiOut.cs#L328
@markheath and @nightblade9 Perhaps I can help on adding Span and ArrayPool support. I am doing heavy use of encoding, mixing provides. Writing and reading to and from IWaveProvider in...
FYI @nightblade9 and @markheath The projects I work on, use .NET 8 and .NET 9 I have not found any bugs or problems with NAudio. But, the use of byte[]...
Try use the newest NAudio v2.2.1 @chenzc998 Look at the examples for NAudio and WaveInEvent :-) https://github.com/naudio/NAudio/blob/master/Docs/RecordWavFileWinFormsWaveIn.md
Have you tried wasapi capture?
@cryingsauerkraut Windows Services has no access to Users mic input in WasapiCapture. Windows Audio Session API (WASAPI) is all about User Session in Windows.
@cryingsauerkraut the problem from a Windows Service is that a User Session can be a Remote Desktop, Citrix Desktop or any other virtual disktop and not only Console Desktop. In...
My guess will be, that a call to `captureMic = new WasapiCapture();` in a Windows Service. Will give you no default `MMDevice ` Try point out what MMDevice to use,...