Quantcast
Channel: NAudio
Viewing all articles
Browse latest Browse all 5831

New Post: NAudio Performance

$
0
0
markheath wrote:

that's interesting. LowLatency mode has been on my list of things to experiment with for some time, but I haven't got round to it yet. It it does work like that, that will be excellent for audio. You could also do a collect before playback begins.


It would actually be great to have this built into version 1.7. They recommend that you use Constrained Execution (http://msdn.microsoft.com/en-us/library/ms228973.aspx) and limit the code that runs with low latency mode enabled to a try/finally block. This could be done in the NAudio processing thread, because often Play() and Stop() are not called from the same method. I would recommend the SustainedLowLatency actually. Glad I could pique your interest on the matter.


Viewing all articles
Browse latest Browse all 5831

Trending Articles



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