This project has moved. For the latest updates, please go here.

An example of a Windows service using the library Naudio

Sep 27, 2015 at 6:26 PM
Edited Sep 27, 2015 at 6:27 PM
Hello, I am a beginner in C # and in the library Naudio, I need some examples of realties for packing classes and methods Naudio in service Windows?
Please tell me, how to use this method here
public void waveIn_DataAvailable (object sender, WaveInEventArgs e) 
in the method
protected override void OnStart(string[] args)
Coordinator
Sep 29, 2015 at 6:39 PM
Well you would be best to use the WaveInEvent class if you are in a Windows service as there is no Windows message loop. But apart from that, the code will work exactly the same as shown in the NAudio demo application.
Sep 29, 2015 at 8:04 PM
Edited Sep 29, 2015 at 8:04 PM
Thank you, and now a little bit more, that for WaveInEvent class? Windows message loop?
I opened Naudio demo, but I do not know what it is possible to use, lots of files, help me please?