>You'll like this one...
>
>So your fix/suggestion on PortAudio, to set the OutputParameters.SampleFormat 
>to paFloat32 and SuggestedLatency = .2 worked to cure the dropout. Yea!
>
>But after that, and what I thought was unrelated, was that my display cursor 
>for my waveform picture all of a sudden got jumpy, like the resolution for the 
>graphics got all weird. I checked lots of things regarding graphics but 
>couldn't find the answer.
>
>Finally I found that Stream.SamplePosition was giving me the same values over 
>say 8512 samples worth, like the resolution went way down. That was causing 
>the jumpy cursor. BUT...
>
>So I went back to the stream and I commented out the SuggestedLatency = .2 
>line, and now the cursor is smooth again but the dropout is back. I thought 
>the problem was related to the SampleFormat parameter, but no, it looks like 
>the suggested latency is what cured it, but then the resolution of 
>SamplePosition is unacceptable.
>
>Any ideas?

To be more clear, .2 Latency means 200ms, which is 8820 samples on a 44.1k 
sample. In other words, when SuggestedLatancy is set to .2, then OutputPosition 
is updated every 200ms. I'm not sure if that has to be, does it? 

But anyway, more importantly, I think I have it solved - .2 was way too big a 
number. I just take the number given by 
PortAudioDeviceInfoMBS.DefaultHighOutputLatency, which is more like .01 (10ms) 
and hand it to SuggestedLatency. I guess they have to match or SL needs to be 
that or over now; in the past they didn't have to.

But should OutputPosition lose resolution like that anyway? 

Garth Hjelte
Sampler User

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to