Quantcast
Channel: NAudio
Browsing all 5831 articles
Browse latest View live

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 Article


New Post: change frequency at runtime

just create a property that changes the field frequency. Thats all.

View Article


New 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 Article

New 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 Article

New 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 Article


New 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 Article

New 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 Article

New 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 Article


New Post: unhandled exception

what are you actually playing from - a file on the disk or some kind of memory buffer?

View Article


New 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 Article

New 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 Article

New 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 Article

New 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 Article


New 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 Article

New 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 Article


New 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 Article

New 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 Article


New 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 Article

New 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 Article

Created 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
Browsing all 5831 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>