Commented Issue: Wave.IWavePlayer.Play() - Crashing or says its playing but...
I have a thread (in VB.NET 4.0) that is designed to play audio. This thread is part of a Windows Service. I'm trying to do real simple play the wav file, then go on and play the next one in the queue...
View ArticleNew Post: MIDIout.Finalize() MIDIin.Finalize() problem
AS simple workaround can be this: try {Gmidi.midiOut = new MidiOut(Gmidi.VMidiDevice);this.Closed += (o, s) => Gmidi.midiOut.Dispose();Gmidi.midiIn = new MidiIn(Gmidi.IMidiDevice);this.Closed +=...
View ArticleNew Post: MIDIout.Finalize() MIDIin.Finalize() problem
How can disable assertion? try {Gmidi.midiOut = new MidiOut(Gmidi.VMidiDevice);this.Closed += (o, s) => Gmidi.midiOut.Dispose();Gmidi.midiIn = new MidiIn(Gmidi.IMidiDevice);this.Closed += (o, s)...
View ArticleNew Post: acmstreamheader dispose was not called
you need to make sure you call Dispose once for every call to PlayMusic
View ArticleNew Post: ASIO input
no I'm afraid you'll need to modify the AsioOut class yourself at the moment to support this. Its a feature I'd like to get into the next public NAudio release
View ArticleCommented Issue: support for Windows 8 / Metro [16346]
Are there plans to support NAudio in a a Windows 8 Metro app? I cannot get NAudio to work in a Windows 8 Metro app with the Win8 consumer preview and Visual Studio 11 beta. First, NAudio has a...
View ArticleNew Post: [NAudioWPFDemo] Not flushing on Stop?
that's odd. Under the hood, waveOutReset should get called, which is supposed to clear out all internal buffers. Could be a dodgy soundcard driver. Is it a cheap usb headset / built in audio? What OS...
View ArticleCommented Issue: Wave.IWavePlayer.Play() - Crashing or says its playing but...
I have a thread (in VB.NET 4.0) that is designed to play audio. This thread is part of a Windows Service. I'm trying to do real simple play the wav file, then go on and play the next one in the queue...
View ArticleNew Post: ASIO input
ok, i see... but i can't promise to get it done soon, but i will try this week. would it be basically like this?: the AsioOut would get an additional constructor which takes a class or interface which...
View ArticleNew Post: ASIO input
well the existing interface is IWaveIn, which simply raises an event to notify you whenever audio is available. To fit with the rest of NAudio, that would be good, but the ASIO model is quite different...
View ArticleNew Post: ASIO input
yes, so i think the adapter class will just do the following: - implements a new IAsioProcess (or whatever name) interface - take IWaveIn and IWaveProvider as constructor arguments - when the driver...
View ArticleNew Post: ASIO input
I'm not quite sure what you have in mind for the adapter. AsioOut has the Init method which takes an IWaveProvider at the moment. To fit with other NAudio classes, the simple thing to do would just be...
View ArticleNew Post: ASIO input
ok, that would be simple, but it would not allow users to write classes which implement a method which takes both buffers. for example libpd has an audio processing function like: process_float(int...
View ArticleNew Post: ASIO input
that is a good point. one callback function for in and out can be very useful
View ArticleNew Post: [NAudioWPFDemo] Not flushing on Stop?
Thanks for the response. It's on a notebook (IDT 92HD73C1 Audio) running Windows 7 x64. It happens after a stop/pause. I just tried on another PC (also Win 7 x64) and it doesn't have this issue....
View ArticleNew Post: MIDIout.Finalize() MIDIin.Finalize() problem
before calling new MidiOut or new MidiIn, you must first Dispose of any old one. e.g if (Gmidi.midiOut != null) Gmidi.midiOut.Dispose();
View ArticleCommented Issue: Wave.IWavePlayer.Play() - Crashing or says its playing but...
I have a thread (in VB.NET 4.0) that is designed to play audio. This thread is part of a Windows Service. I'm trying to do real simple play the wav file, then go on and play the next one in the queue...
View ArticleNew Post: WaveIn to SoundPlayer issue.
Hello, I'm trying to use NAudio to capture mic sound and be able to play it in SoundPlayer class. Sound player expects a memory stream with a wav file in it. This is the function using SoundPlayer:...
View ArticleNew Post: PlaybackState remains at Playing once finished
I've been trying out NAudio and it seems very very interesting, at least for me to handle audio playback directly from streams in a WPF application. Right now I'm trying to assemble something with...
View ArticleNew Comment on "MP3"
I made a console app, it contains class that i called MP3, this class contains methods CreateInputStream and CloseWaveOut from this article, there's also Listen method: public void Listen() {...
View Article