FS#12250 - Playback freezes when using big speed or pitch change
Opened by Jeffrey Goode (Blue_Dude) - Monday, 29 August 2011, 02:51 GMT
Last edited by Michael Sevakis (MikeS) - Friday, 01 March 2013, 14:23 GMT
|
DetailsCan't play back audio at any setting other than 100%/100% pitch/speed. Playback freezes almost immediately after changing pitch or speed, or when using a bookmark with pitch or speed information. Problem occurs in r30372, but probably appeared earlier.
|
Friday, 01 March 2013, 14:23 GMT
Reason for closing: Fixed
Additional comments about closing: Oy, me think fixed long time ago with DSP changes.
For the moment, adjusting PCMBUF_GUARD_SIZE to _at least_ 12KB alleviates the problem, unless upsampling is needed to play the file, which needs yet a larger gaurd buffer. To be a proper fix, tdspeed must be updated estimate output size accurately.
First observed on: r30375-110829
Newest revision without the problem I was using: r30362-110826
I would say that the playback does not stop. It is muted and it seems that the playback pointer moves. When I reset pitch/speed to 100% playback continues further in time.
Also with setting of pitch/speed other than 100%/100% the scrolling text on WPS is jittery so it probably loads the CPU a lot.
I downgraded because not to be able to speed-up podcasts was too limiting for me :)
The only problem I observed occurs when the pitch is under approximately 70 % then the behaviour is similar as before fixing the problem though after a while it auto-recovers. I do not know if the problem with pitch under 70 % appeared before r30363.
When the pitch is not too low then the problem does not occur immediately (like 70.5 % for FLAC files I was playing with). Interesting is that it seems that in the debug screen "View buffering thread" the problem occurs earlier.
The pitch/speed setting also don't seem to remain in sync with valid values. If your at the limit on one but adjust the other such that the old limit is out of range, it doesn't adjust the other value.