Quantcast
Channel: naudio Work Item Rss Feed
Viewing all articles
Browse latest Browse all 738

Created Issue: visualation solution of problem: [16333]

$
0
0
If you ever had a look at the wpf visualation you can see that it is very slow.
So it looks like its lagging.
If you want to change that just change playbackDevice in AudioPlayBack.cs from IWavePlayer to WaveOut and change the following lines:

private void CreateDevice()
{
playbackDevice = new WaveOut();
playbackDevice.DesiredLatency = 100;
}

But there is also a little problem with the desiredLatency. Because the lower you sett it the better visualation you will get. But remember the lower you set the bader music quality you will get.
So you have to set someting in the middle. I am listeing on 100 at the moment. It it sounds quite nice but if you are listening on 50 its just crap :D
So you have to choose the value on yourself what ever you like. You can also take 1 but please turn of the volume :)

Viewing all articles
Browse latest Browse all 738

Trending Articles