New Post: two problems with wave playack
Hi, I'm writing WPF application with the newest NAudio. I have two problems with playing wave file. First problem is wit not executing PlaybackStopped event. This is my code: private void...
View ArticleNew Post: Unsupported wave format
Just to update, in case anyone else has this problem. The issue was an out dated Realtek Audio Driver. Updating it has fixed the issue. Big thanks for the help though!
View ArticleNew Post: Unsupported wave format
great, thanks for sharing what the problem is. I've had issues with Realtek drivers in the past
View ArticleNew Post: Playback from Wave.DirectSoundOut stops randomly after some time
Hi @ all, I found NAudio library few days ago and I tried implement it in my communication software. The my purpose of use was to create voice chat app. I'm successfully recording mic input and sending...
View ArticleNew Post: real-time pcm data streaming
Hi~ Network to the pcm (16bit, 38.1Khz sample rate, 1-Channel (Mono)) data to me. The size of received data at a time of about 0.43 seconds 16384byte and audio data. Using BufferedWaveProvider and...
View ArticleNew Post: Playback from Wave.DirectSoundOut stops randomly after some time
First, 1.7 was not compiled for .NET 4.5 and you can use it in VS 2010 with no issues whatsoever. Second, you should just have one output device, and not re-create it every time you call PlayData
View ArticleNew Post: real-time pcm data streaming
I'm not sure exactly what you are asking. A buffered wave provider is the best way to play audio you are receiving over the network in real-time. Also, 38.1kHz is a very non-standard sample rate. Are...
View ArticleNew Post: Playback from Wave.DirectSoundOut stops randomly after some time
Thanks. I saw some messages in VS, so I thought about .NET 4.5 - I'll read more carefully next time. I assume, that you mean Wave.DirectSoundOut object by output device. I'll declare it on class level,...
View ArticleNew Post: ReplayGain in NAudio
I made an audio player using NAudio. It works fine but the volume fluctuate low and high depending upon the mp3 file. How to achieve replaygain using NAudio? Suppose if i have calculated the replaygain...
View ArticleNew Post: Playback from Wave.DirectSoundOut stops randomly after some time
Hi again, I have slightly refactored my code based on your recommendations, using now v 1.7 - message displayed in VS was there because of targeting my app to .NET 2. I retargeted it to .NET 4 and now...
View ArticleSource code checked in, #2c92cacb8d66
trying to make WaveIn a bit more robust to repeatedly starting and stopping recording. Still not great, recommend using WaveInEvent in preference
View ArticleNew Post: Playback from Wave.DirectSoundOut stops randomly after some time
Subscribe to the PlaybackStopped event, see if it fires, and see if there is a value in the Exception property of the event args. Also, you don't need WaveCallbackInfo - that does nothing. You could...
View ArticleNew Post: Playback from Wave.DirectSoundOut stops randomly after some time
Thanks for suggestions! I subcribed to event and see this error: DirectSound buffer timeout I think, that I can reinitialize playback, when this event is fired - but have to do more test. I'll let you...
View ArticleNew Post: Playback from Wave.DirectSoundOut stops randomly after some time
Yes, when event PlaybackStopped is raised, I reinitialize DirectSoundOut object and sound still playing. It still throws some errors, but user can't see them while chatting over network. 20.3.2014...
View ArticleNew Post: NAudio now playing FLAC files!
The issue was fixed. I committed the code to the SVN repository of Practice# in Google Code Thanks Yuval
View ArticleNew Post: FireAndForget sounds played at intervals
Using the sample code for FireAndForget sound playback, I'm loading up 31 CachedSound objects and playing them back at small intervals (<100ms). Playing the sounds using the same code as used in the...
View ArticleNew Post: Is NAudio supported for windows phone 8 and windows 8.x
Is this api available for app?
View ArticleNew Post: Audio splutters particularly when multi tasking on the computer
Hi Mark, I developed a project using Naudio.But client send this issue:"Audio still splutters particularly when multi tasking on the computer i.e doing something else on the computer (Skype or email)"....
View ArticleNew Post: FireAndForget sounds played at intervals
There will be a latency of the duration of the buffer you are using in your IWavePlayer. Also the MixingSampleProvider does only allow new inputs to be added between calls to Read, so if during the...
View Article