1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-11 22:51:06 +02:00

5562 Commits

Author SHA1 Message Date
Paul Licameli
627fc1ca40 Merge branch 'master' into scrubbing2 2016-05-28 12:15:10 -04:00
Paul Licameli
94325b0ffb More responsive scrub engine; improved speed control on Mac
* scrubbing:
  Don't let seek make a stutter at less than unit speed
  Further simplified argument passing
  Improve scrubbing speed control (2 finger swipe) on Mac
  Improve scrub responsiveness: a secondary thread polls the mouse
  Don't let the consumers discard too much from the scrub queue...
  Reduce scrub lag yet more, at expense of possible skips in play...
  Scrub lag: lock mutex not more than once per call to FillBuffers
  Reorganize logic of initializing queue entries
  One second countdown now based on the correct timer interval
2016-05-28 12:13:20 -04:00
Paul Licameli
35b0502ce1 Don't let seek make a stutter at less than unit speed 2016-05-28 12:11:26 -04:00
Paul Licameli
a9a404c7cf Further simplified argument passing 2016-05-28 12:02:16 -04:00
Paul Licameli
e4fadf4aaf Improve scrubbing speed control (2 finger swipe) on Mac 2016-05-28 11:59:22 -04:00
Paul Licameli
af7a92c2ab Improve scrub responsiveness: a secondary thread polls the mouse 2016-05-28 11:59:22 -04:00
Paul Licameli
9a256d3790 Don't let the consumers discard too much from the scrub queue...
Producer adds silences when needed, so that the accounting in Transformer()
is correct
2016-05-28 11:59:22 -04:00
Paul Licameli
b6764d1bf7 Reduce scrub lag yet more, at expense of possible skips in play...
by discarding work from the queue sometimes on the consumer side.

Also more careful mixed long - double arithmetic.
2016-05-28 11:59:14 -04:00
Paul Licameli
57fb3cd12c Scrub lag: lock mutex not more than once per call to FillBuffers 2016-05-28 08:44:25 -04:00
Paul Licameli
b14fa507c9 Reorganize logic of initializing queue entries 2016-05-28 08:44:25 -04:00
Paul Licameli
4f2ee32a1a One second countdown now based on the correct timer interval 2016-05-27 11:40:17 -04:00
Paul Licameli
44650ef053 Merge branch 'master' into HEAD 2016-05-27 11:38:20 -04:00
Steve Daulton
0377a24f90 Comment out unused TrackPanel::BuildVRulerMenuItems function
The function builds pop up menus that are never displayed and
creates runtime debug warnings. It is left over from PRL's experiment
in 2.1.2 with a context menu for the vertical ruler.
2016-05-27 10:45:01 +01:00
Paul Licameli
4f9810cd1f Two-fingered horizontal swipe on mac touchpad scrolls the wave 2016-05-25 12:31:30 -04:00
Paul Licameli
74c8dcf8d3 Improve responsiveness of drag seek during click-scrub...
.. by refreshing the TrackPanel window less often.
2016-05-23 18:38:38 -04:00
Paul Licameli
ba883cbcf4 Improve responsiveness of drag seek during click-scrub...
.. by refreshing the TrackPanel window less often.
2016-05-23 18:37:42 -04:00
Paul Licameli
5b05f6038d Merge branch 'master' into scrubbing 2016-05-23 18:36:13 -04:00
Gale Andrews
8dba1ca2f9 Update hostname and directories - fixes Bug 1394
So this fixes the Help button in Contrast also. 

It does not fix hardcoded links which will still go to the "wrong" (released)
Manual in alpha builds.
2016-05-23 03:19:10 +01:00
Paul Licameli
398b9d7728 Don't squeak when starting a drag-scrub 2016-05-22 16:36:03 -04:00
Paul Licameli
24ef578a89 Don't squeak when starting a drag-scrub 2016-05-22 16:35:20 -04:00
Paul Licameli
e4a2d23017 Merge branch 'master' into scrubbing2 2016-05-22 15:56:58 -04:00
Paul Licameli
0bc47c9394 Some tidying of scrub engine code, no audible changes 2016-05-22 15:28:03 -04:00
Paul Licameli
c585bb16fb Move bounding times and minimum stutter length into ScrubOptions 2016-05-22 15:27:35 -04:00
Paul Licameli
ffe596c760 Move some fields into ScrubbingOptions 2016-05-22 15:27:35 -04:00
Paul Licameli
671f60492d Move some static functions into ScrubbingOptions 2016-05-22 15:27:35 -04:00
Paul Licameli
8ed93b8147 Fix conditional compilation branch 2016-05-22 15:27:35 -04:00
Paul Licameli
3dcf802bdc Have just one scrub enqueueing function: use options for distinctions 2016-05-22 15:27:35 -04:00
Paul Licameli
cdbdd6480b Define and pass around struct ScrubbingOptions, but nothing in it yet 2016-05-22 15:27:35 -04:00
Paul Licameli
36e5b4fbbc AudioIOStartStreamOptions includes the sample rate 2016-05-22 15:27:35 -04:00
Paul Licameli
5997beec9d Rename Scrubbber::mScrubHasFocues to mPaused, reverse its sense 2016-05-22 15:27:34 -04:00
Paul Licameli
68cf7adcb1 Merge branch 'master' into scrubbing 2016-05-22 15:26:39 -04:00
James Crook
26fc69976c Merge branch 'Bug1279-VST' 2016-05-22 16:48:43 +01:00
Paul Licameli
e68cfc3a05 Restore the scrub alternative image for the play button 2016-05-22 11:34:05 -04:00
Tony Kirkland
9905652d5c Bug 1279: change VST host window parameters to prevent app freeze 2016-05-22 11:17:04 -04:00
Paul Licameli
aa9afb073e Show Actual Rate in status only if playing, recording, or monitoring 2016-05-22 10:44:18 -04:00
Paul Licameli
7e0de9a9bc Fix incidentals to Bug 1331, though not the bug itself...
... See comments #1 and #2 at
http://bugzilla.audacityteam.org/show_bug.cgi?id=1331

Don't make strange undo history if, e.g., R to record (or other keystroke
with undoable effects) interrupts a drag with undoable effects (like time
shift).  Ensure that by first simulating a mouse button up event to stop the
drag, before dispatching the keystroke.

Don't crash if certain other drags, that do not have undoable effects, such
as selection or vertical ruler drag -- are interrupted by a keystroke
command (Ctrl+C in particular could cause crash).  However, in these cases,
the drag is still allowed to continue.
2016-05-21 23:19:09 -04:00
Paul Licameli
079eb3e98e Bug1375: Fix sync-lock behavior ...
... which was broken by commit 3015a9c8d9229406f8c33fd32ffc64c11d77ca54
2016-05-21 02:04:12 -04:00
Paul Licameli
66c14c9940 Bug1390: Don't crash when SnapTo is not Off 2016-05-20 23:48:30 -04:00
Paul Licameli
6acb0f99b3 Fix minor error in some position to time calculations 2016-05-18 14:55:03 -04:00
Paul Licameli
54c6493df6 Better implementation of switch from scrub to quick play; ... 2016-05-18 12:00:06 -04:00
Paul Licameli
9e2916a80b Better implementation of switch from scrub to quick play; ...
... also, don't ever draw the scrub handle while dragging the quick play
region.
2016-05-18 11:58:57 -04:00
Paul Licameli
bdb96f659c Merge branch 'master' into scrubbing2 2016-05-18 11:23:38 -04:00
Paul Licameli
de13e27cdd Correction: commit 465b743fd32bd431f2f69fc13a060d4e73f34fa9 fixes bug 1391 2016-05-18 11:11:23 -04:00
Paul Licameli
ed87d79133 Don't pop record up if you click it twice; also may fix moonphase... 2016-05-18 11:02:56 -04:00
Paul Licameli
da8973570b Don't pop record up if you click it twice; also may fix moonphase...
... reported by Peter:  sometimes stop button gets disabled during record
2016-05-18 10:59:38 -04:00
Paul Licameli
62c82f94df Bug1365: Do not confuse Linux key event handling... 2016-05-18 10:11:37 -04:00
Paul Licameli
465b743fd3 Bug1365: Do not confuse Linux key event handling...
... So click on QP during scrub had to be implemented without relying on
SafeYield() when stopping play.
2016-05-18 10:08:46 -04:00
Paul Licameli
3c5547f0f3 Merge branch 'master' into scrubbing2 2016-05-18 09:45:39 -04:00
Paul Licameli
ae28b4d598 Bug 1392: don't draw indicator over track control during quick play 2016-05-18 09:30:55 -04:00
Paul Licameli
b0919ba44f Bug 1392: don't draw indicator over track control during quick play 2016-05-18 09:27:03 -04:00