Paul Licameli
5316032fee
An overload of Envelope::GetValues for nonuniform time steps, taking ZoomInfo
2015-07-19 11:44:11 -04:00
Paul-Licameli
c4386f4dc8
Ruler event handler does not directly use zoom (pps) value
2015-07-19 11:44:10 -04:00
Paul-Licameli
bd08c7c778
Envelope event handlers do not directly use zoom (pps) values
2015-07-19 11:44:08 -04:00
Paul-Licameli
1f9113f5cc
Label track event handler does not directly use zoom (pps) values
2015-07-19 11:44:07 -04:00
Paul-Licameli
fe36b636cb
Rewrite SnapManager to avoid using ZoomInfo::zoom
2015-07-19 11:44:05 -04:00
Paul-Licameli
5418ce377b
Move PositionToTime, TimeToPosition into class ZoomInfo ...
...
... and use them in many more places in TrackPanel.cpp, so there are fewer
direct uses of ZoomInfo::zoom.
Also use then in horizontal scrolling code
2015-07-19 11:44:04 -04:00
Paul-Licameli
5a6d5d1443
Add and use some ZoomInfo and ViewInfo member functions, so we can eliminate...
...
... miscellaneous direct uses of ZoomInfo::zoom to test and set zoom level.
This includes all the remaining assignments to it.
But moving TrackInfo::PositionToTime and TrackInfo::TimeToPosition into
ZoomInfo and using them is needed to eliminate many more uses.
Also #if'd out the unused AudacityProject::OnZoomToggle().
2015-07-19 11:44:02 -04:00
Paul-Licameli
8ba9ea5621
ViewInfo has a base class, ZoomInfo, containing only what TrackArtist needs besides the SelectedRegion
2015-07-19 11:44:00 -04:00
Paul-Licameli
ab21f75c77
ViewInfo is becoming a smart class, not a dumb struct
...
Now it has:
A constructor
XML attribute serializer functions (but no XML tag of its own)
Also removed unused lastZoom
2015-07-19 11:43:59 -04:00
Paul Licameli
35e0897bf7
Avoid needless mix/max/rms calculation when showing individual samples.
2015-07-19 11:43:55 -04:00
Paul Licameli
1b125f8fe3
more variable name changes
2015-07-19 11:43:53 -04:00
Paul Licameli
9a22b94d99
Change some argument names. I don't like one-letter variable names.
2015-07-19 11:43:52 -04:00
Paul Licameli
68174ad657
Envelope::GetValue works faster when called in a loop with increasing arugments
2015-07-19 11:43:50 -04:00
Paul Licameli
b759cc5483
collapse some repeated code into a loop
2015-07-19 11:43:49 -04:00
Paul Licameli
508abda309
Bugs 1043, 1044 -- Even better fix...
...
... With a careful sweep of uses of WaveTrack::GetDisplay() to remove
assumptions about the ordering of the values.
Using < and <= on enum values is mostly a bad idea.
2015-07-18 23:56:30 -04:00
Paul Licameli
b25994a82d
Throw away EXPERIMENTAL_FFT_SKIP_POINTS...
...
... with James' consent.
2015-07-18 23:21:27 -04:00
Steve Daulton
78d0347be2
More complete fix for bug 1060 issues
2015-07-18 18:31:36 +01:00
James Crook
c43936f630
Bug1085 - Play-at-Speed key-binding broken
...
Caused by fix to Bug 844 not initialising mIsCapturing to false. So play-at-apeed could mistakenly think recording was in progress, and so prevent play-at-speed.
2015-07-18 12:51:28 +01:00
James Crook
c929932f30
IsAlpha1 and now 2.1.2.
2015-07-16 17:17:50 +01:00
James Crook
510713b981
Merge remote-tracking branch 'leland/master'
2015-07-10 09:30:17 +01:00
James Crook
eaa1973051
Merge remote-tracking branch 'upstream/master'
2015-07-10 09:29:06 +01:00
James Crook
6423610f01
Bug 1061 - Chinese (Simplified) Missing
...
Previously we looked at wxLocale language names for matches to our names. The change to use the language set in the installer reversed this. However looking up zh (which is Chinese) in wxLocale yields zh_TW. So instead we now look up zh_CN.
2015-07-10 09:28:24 +01:00
Steve Daulton
ce9626d31c
Minimal fix for bug 1060
...
Minimal fix for bug 1060 made with agreement of RM.
No documentation changes required.
Further fix/enhancements will wait until after 2.1.1 is released.
2015-07-08 18:47:33 +01:00
Leland Lucius
f434789f34
Fix crash in new binary AutoSave
...
Would happen when writing tags with a value whose length was greater
than 65535 due to the use of shorts. Now uses int instead.
2015-07-08 10:13:34 -05:00
Leland Lucius
22c8f7fb76
Pretty sure this is the fix for the crashing VSTs
2015-07-05 13:48:59 -05:00
Leland Lucius
d7d1de46f8
Revert "Possible fix for VST crash when not in debugger."
...
This reverts commit 2b24de978cd6e511dd22ae4b3bba308b0820a67e.
2015-07-05 13:44:14 -05:00
James Crook
2b24de978c
Possible fix for VST crash when not in debugger.
...
Suspected that the array is not big enough.
2015-07-04 22:38:58 +01:00
James Crook
60529e4a9e
2.1.1. IS_ALPHA -> 0
...
Preparation for RC1 for 2.1.1.
2015-06-29 00:31:44 +01:00
Leland Lucius
54edb67341
Make sure vocalridiso.ny plugin autoregisteres
2015-06-27 13:42:33 -05:00
Leland Lucius
d28ac9ea61
Fix LV2 effect recognition between 2.1.0 and 2.2.0
2015-06-27 10:53:42 -07:00
Leland Lucius
7071c9952c
Hopefully this will provide a decent workaround for bug 1045
...
Basically, an LV2 effect that contains port types that Audacity
doesn't understand will be unavailable for use.
2015-06-26 09:58:37 -07:00
Paul Licameli
9c957d43b1
Bug1013: normalize keystroke named in status bar, for Mac
2015-06-24 13:34:02 -04:00
Paul Licameli
ccebaf9d95
Bugs 1043, 1044 -- Be careful with new display modes in preferences
...
Write a new key so version 2.1.0 isn't confused by the reordered values
Add some future proofing against similar to 2.1.1 code
2015-06-23 13:12:07 -04:00
Leland Lucius
54802dded9
Part 2 of fix for bug #1045
2015-06-23 09:10:06 -05:00
Leland Lucius
404dd924f5
Fix for bug #1045
2015-06-23 00:39:15 -05:00
Leland Lucius
bb04d9cf4c
Fix for bug #953 again
...
I can't believe it actually built for me with the previous attempt.
2015-06-21 21:43:49 -07:00
Leland Lucius
218172d12a
Forgot to add the new file in fix for bug #953
2015-06-17 11:26:41 -05:00
Leland Lucius
2188f492a6
Fix for wx3 build problem reported by David Avery.
2015-06-16 18:30:58 -05:00
Leland Lucius
14bb4ab766
Fix for bug #953
2015-06-16 18:27:19 -05:00
Leland Lucius
602e21358c
Do not cause duplicate ".aup" extensions to be added on OSX
...
The real problem is that there's a lot of code that is looking
for the ".aup" extension, but it's not using case insensitive
comparisons.
But that'll have to get resolved ... later.
2015-06-16 00:03:03 -05:00
Leland Lucius
de1fe0ae37
Fix for bug #1034
2015-06-15 23:38:02 -05:00
Steve Daulton
0d86cd1fd5
Fix: Update History window after deleting levels.
...
ToDo: fix capitalization of textbox labels.
2015-06-16 01:42:42 +01:00
David Bailes
a6808609ea
Added i18n-hint for transport status strings in the status bar.
2015-06-13 16:48:57 +01:00
Leland Lucius
6960270270
Fix for bug #1016
2015-06-12 23:13:11 -05:00
Leland Lucius
1b369be614
Fix (hopefully final) for bug #1010 .
2015-06-12 23:10:23 -05:00
Paul Licameli
60956bad79
Merge: Fix hit test for samples in multi tool in Waveform dB view
2015-06-12 12:25:28 -04:00
Paul Licameli
a585b3bbac
Fix hit test for samples in multi tool in Waveform dB view
2015-06-12 12:22:51 -04:00
Leland Lucius
1ebe0d5868
Fix for bug #1025
2015-06-12 10:09:59 -05:00
Steve Daulton
8f3c8ac01b
Fix - Generate should replace selection.
...
Generate Silence needs to be inserted into the selection
rather than overwriting mT0 to mT1.
2015-06-12 13:03:14 +01:00
Paul Licameli
4d2825e3d1
Bug837 Fix mismatch of spectrum display and vertical ruler...
...
... It was caused by unnecessary rounding to integer for "minSamples" and
"maxSamples".
Which were also misleading variable names, so I changed them. And took the
excuse to rename some other variables.
2015-06-11 23:26:19 -04:00