You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While doing a loopback test, I noticed that the beginning of the first input block contains what looks like the last 64 samples of the previous stream - basically the remnants of the last stream appear to be leaking into the next stream.
This happens even if the previous stream ended gracefully, and despite the fact that ASIO401 follows the QA401 reset procedure after a stream ends and before the next one starts.
I did not yet check if it's the output side or the input side that's at fault here.
The text was updated successfully, but these errors were encountered:
According to @QuantAsylum that's normal behaviour for the QA401 - the correct fix is to end the stream with 32 zero frames. (Actually, it might make sense to make the value of these frames configurable, because that would allow the user to configure the output trim.)
After some more extensive testing this definitely looks like it's coming from the ADC, as I don't see it when measuring the output of the DAC through various other means. The proper fix would be to ignore the first 64 samples we're reading.
The main goal of this commit is to work around #9 by getting rid of
QA401::Start(), which is now folded into Reset() so that the QA401
does not get to spend any significant amount of time in a "weird"
"DC party" state.
This required a rethink of the priming logic and of the streaming
loop. The good news is, the new logic is arguably cleaner and
simpler, and it has the nice side effect of taking care of #5
without the need for additional workarounds.
Fixes#9. Fixes#5.
While doing a loopback test, I noticed that the beginning of the first input block contains what looks like the last 64 samples of the previous stream - basically the remnants of the last stream appear to be leaking into the next stream.
This happens even if the previous stream ended gracefully, and despite the fact that ASIO401 follows the QA401 reset procedure after a stream ends and before the next one starts.
I did not yet check if it's the output side or the input side that's at fault here.
The text was updated successfully, but these errors were encountered: