New Post: unhandled exception
Hi Mark further to my last message about my program using WASAPI, my program seems to crash at random, maybe once or twice a day and the following error appears in the event log: Application: AVR...
View ArticleNew Post: change frequency at runtime
just create a property that changes the field frequency. Thats all.
View ArticleNew Post: midi in problem: Object reference not set to an instance of an object.
void midiIn_MessageReceived(object sender, MidiInMessageEventArgs e) { string message = e.MidiEvent.ToString(); } System.NullReferenceException was unhandled Message=Object reference...
View ArticleNew Post: Copying files and "file is being used by another process" problem.
No, all explorer windows are closed. When I try to delete it from Windows, I get error message saying that this file is being used by vshost32.exe
View ArticleNew Post: NAudio in a non GUI thread
My program uses Naudio.Wave.WaveOut to play out audio on a USB audio device. If the USB audio device is removed during playback to GUI playback panel is no longer updated. Any interaction with the...
View ArticleNew Post: NAudio in a non GUI thread
WaveOutEvent is what you should be using if you don't want audio on the GUI thread. I fairly recently added some code in to handle removing USB audio devices so make sure you are working with the very...
View ArticleNew Post: NAudio in a non GUI thread
Yes, I did use the very latest code, naudio_60216c3b9380, and in a non GUI thread WaveOutEvent was not working for me.
View ArticleNew Post: NAudio in a non GUI thread
what about if you run NAudio demo? does playback work as normal in that with WaveOutEvent selected?
View ArticleNew Post: unhandled exception
what are you actually playing from - a file on the disk or some kind of memory buffer?
View ArticleNew Post: unhandled exception
i'm playing a wav file from my resources, wouldn't mind playing from a buffer instead since the wav is silent anyway but can't work out how to create a wave in memory. Saw some reference to...
View ArticleNew Post: ASIO input
Hi Hfuy First of all, thanks very much for the response! I was a bit confused though. I have an unchanged version of NAudio 1.5 and when I compare the code you posted with my ASIODriverExt.cs in...
View ArticleNew Post: NAudio in a non GUI thread
In NAudio Demo (x64), using AudioPlaybackPanel with the Ouptut driver set to 'WaveOut' and the callback Mechanism set to 'Event' playback does work. WaveOutEvent is used but it is defined within the...
View ArticleNew Post: NAudio Recording Performance
Hi, Is there any way to record from specific channel using ASIO , please let me know if any sample code is available. My requirement is to record from Channel 1L and Channel 1R . Thanks in...
View ArticleNew Post: When playback ends
Hi , I am using NAudio playbak for playing I am playing some noise file. This is loop play or single play I hear a really bad buzz atthe loop edge , ho to resolve this any ideas. Thanks in advance
View ArticleNew Post: Using WaveOutEvent to playback in a cycle
When using WaveOutEvent to endlessly playback audio between a start and end marker only works reliably if waveStream.CurrentTime is re-winded to start marker when it reaches the end marker. Stopping...
View ArticleNew Post: NAudio in a non GUI thread
I would expect both WaveIn and WaveOut to report errors on the USB device being removed. I can't understand why you wouldn't get a playback stopped event.
View ArticleNew Post: NAudio audio conference
I have 2 WPF applications and I'm trying to build an audio conference system between them. I followed the NetworkChat example and it works, at leas in one direction but I have 3 big problems....
View ArticleNew Post: Using WaveOutEvent to playback in a cycle
I also experience the problem with the next Play command resulting in PlaybackState == Playing but the audio file is not actually playing. I am using an event timer to track the progress of the audio...
View ArticleNew Post: Using WaveOutEvent to playback in a cycle
Modifying WaveOutEvent.Play() as follows resolved this issue (for me): public void Play() { if (playbackState == PlaybackState.Stopped) {...
View ArticleCreated Issue: WaveFileChunkReader.ReadWaveHeader assumes that the stream...
I am using this class to read a wave stream but the derived stream class that I am using that contains the wave does not support setting the Postion (CanSeek == false). public void...
View Article