After some testing: I found that https://github.com/mozilla/cubeb/commit/4dfcbd32fd854872040c7b9ff8a839b33f336f8f?diff=unified#diff-481be8adcfca43a9a80fe319f0991d6deefd89501017a4e56c442b1a690affeaL1724-R1726 this line is the cause of bug. change back from uin32_t to uint64_t fix the bug.
Bug 1853012 Comment 12 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
After some testing: I found that https://github.com/mozilla/cubeb/commit/4dfcbd32fd854872040c7b9ff8a839b33f336f8f?diff=unified#diff-481be8adcfca43a9a80fe319f0991d6deefd89501017a4e56c442b1a690affeaL1724-R1726 this line is the cause of bug. change back from uin32_t to uint64_t fix the bug. Some guess: Uin32_MAX ( 4,294,967,295 ) / Sample_rate (48000) / 1000 -> 89.47s about 1min30s.