Comments (3)
if you look at the stack trace, where is it blocked? Is it in the call to the underlying API, or is something hanging on to the lock?
from naudio.
Looks like it gets stuck at this line:
MmException.Try(WaveInterop.waveOutGetPosition(hWaveOut, out mmTime, Marshal.SizeOf(mmTime)), "waveOutGetPosition");
This also happens randomly from time to time without breaking but I haven't been able to reproduce that.
Here's a screenshot of exactly where it is in WaveOut.cs:
from naudio.
have a look at all the other threads. Are any of them inside a call to a waveOut function, or waiting on the waveOutLock? Also, what callback model are you using? Have you tried with WaveOutEvent?
from naudio.
Related Issues (20)
- MediaFoundationReader doesnt work with opus format HOT 1
- naudio.core is missing NuGet package README file
- I am trying to make i program to play live microphone audio over the live audio out channel but i am having issues
- Initializing a Wasapi device can tak a long time
- Audio Playback Speed Issue with Multiple Buses in WaveMixerStream32
- why the wavePlayer.PlaybackState was changed to PlaybackState.stopped when I call wavePlayer.Pause()
- Not a standard WAVE PCM soundfile format
- Unable to set SetDuckingPreference HOT 1
- Windows-Independent Mp3FileReader, Load MP3 with NAudio.Core
- Set Licence Expression on package info
- Make Windows.Win32.Registry a conditional package based on TFM
- MediaFoundationReader is not working after I deployed the project to azure HOT 1
- OGG file format support HOT 3
- Bug: possible memory leak
- WasapiLoopbackCapture Http Live Stream HOT 2
- IAudioSessionEventsHandler.OnStateChanged not firing when used inside windows service c#
- .Net Maui IOS crashing HOT 1
- System.MemoryAccessViolation Exception for WaveInEvent
- Read method of Pcm24BitToSampleProvider ignores the offset parameter HOT 3
- waveout ini display error ,can't find a supporte foramt HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from naudio.