Open dmitrykos opened 1 month ago
It's better but not completely free of cracking for some? devices.
Here are two examples: http://0x0.st/Xp1-.wav - PortAudio master http://0x0.st/Xp1o.wav - this PR
Each file has 4 segments of ~3sec:
While (2) is still obviously problematic it's much better now. Test program here.
While (2) is still obviously problematic it's much better now.
I found the problematic place, we were writing some trash/silence behind buffer when saving trailing frames into the circular buffer. Now all is fine. I used your test bench in my tests.
Would you please check from your side.
Tested, it works, no problems. 🎉
That's great! I hope @RossBencina and @philburk will review this PR soon.
@RossBencina I updated implementation based on your review notes, please check.
@philburk I made all changes we discussed, would you please check and approve if all is fine now.
Hi Dmitry, I'm not going to hold up the merge for my latest request, more of a nice to have.
Ross, I made proposed change, thank you for pointing to it.
The problem is covered by #945 issue. Modified examples can be used to test 1-channel input/output stream, including the loopback.
After the acceptance of this PR I will further address #946 issue in another PR and refactor mono-stereo mixer's implementation names.
Closes #945