1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-05 14:18:53 +02:00

6186 Commits

Author SHA1 Message Date
Paul Licameli
aee45d9cce Fix bogus error dialog when append-recording with no waves...
But with at least one track of other type, such as Time
2017-03-17 17:52:37 -04:00
Paul Licameli
0be66296cd Sort labels after warping time, just in case...
... Time warping functions should be nondecreasing, but let's not assume so.
If not, the insertion sort just takes linear time to check that there are no
disorders.
2017-03-17 17:52:36 -04:00
Paul Licameli
37e7b5704a a null check 2017-03-17 17:52:36 -04:00
Paul Licameli
d9be2be137 Restore selected status of tracks correctly in export multiple 2017-03-17 17:52:36 -04:00
Paul Licameli
7b073cd63c Fix naming of right channel of mix-and-render results 2017-03-17 17:52:35 -04:00
Paul Licameli
0e43079d06 Further precautions for the corrupt .wav bug...
Check both allocations of buffers.

See commit 407c1dc4b209111e4dbb3eec88f333aa8f69094c
2017-03-17 17:52:35 -04:00
Paul Licameli
2c0cdda353 Fix dangling pointer bug in lv2 effects 2017-03-17 17:52:35 -04:00
Paul Licameli
87775d35e0 null pointer checks on all uses of WaveTrackCache::Get 2017-03-17 17:52:35 -04:00
Paul Licameli
31832b21a3 fix WaveTrackCache, again...
... There was still some duplicated loading of block files during normal
forward play, though not more than two loads per file.
2017-03-17 17:52:34 -04:00
Paul Licameli
40651241d9 Benchmark::OnRun: clarify, simplify, avoid possible divide by 0 2017-03-17 17:52:34 -04:00
Paul Licameli
6a57987f88 safer use of weak pointer 2017-03-17 17:52:34 -04:00
Paul Licameli
509f974dfb Consistently use delete[] not free for NoteTrack serialization...
... Because allocation is with new[], if you search for where it happens in
lib-src.
2017-03-17 17:52:33 -04:00
Paul Licameli
7dbb946d29 Propagate progress bar cancellation correctly in Normalize 2017-03-17 17:52:33 -04:00
Paul Licameli
97fd8f5689 Certain short-lived things don't need to persist as member variables...
... so that there will be less need for save-and-restore RAII code
2017-03-17 17:52:32 -04:00
Paul Licameli
08b99c533b Remove Effect::mWarper, and stack-allocate warpers instead 2017-03-17 17:52:32 -04:00
Paul Licameli
b9e4aa01eb Simplify Normalize by removing needless member variables 2017-03-17 17:52:31 -04:00
Paul Licameli
0af9b46eac Move many fields out of Envelope that are needed only during editing 2017-03-17 17:52:31 -04:00
Paul Licameli
3c4a15f5cb Remove some unused members 2017-03-17 17:52:30 -04:00
Paul Licameli
790ade7f37 Some simplifications and un-duplications 2017-03-17 17:52:29 -04:00
Paul Licameli
5fdd9fe05a Remove TrackList::GetLink 2017-03-17 17:52:29 -04:00
Paul Licameli
9eaa40659e Utility for track editing leaves fewer direct calls to GetLinked() 2017-03-17 17:52:28 -04:00
Paul Licameli
54aea4bccf Rewrite TrackPanel::FindTrack as FindCell ...
... which reports disjoint rectangles for the track control panel, the vertical
ruler, and the proper track area.
2017-03-17 17:52:28 -04:00
Paul Licameli
8ddbc1d3d3 Assume number of spectrogram bins = 1/2 FFT window in fewer places...
... and that they have equal width on the linear scale
... also simplify the logic involving zero padding factor

This is more preparation for constant-q.
2017-03-17 17:52:28 -04:00
Paul Licameli
d831318132 simplify SpectrogramSettings::GetScale; abstract frequency-to-bin...
... this is a preparation for the constant-q feature, if we want it.
2017-03-17 17:52:27 -04:00
Paul Licameli
a4a9df5c03 One function for the common parts of BlockFile::ReadData overrides 2017-03-17 17:52:27 -04:00
Paul Licameli
a86cc1cb3b Stylistic changes 2017-03-17 17:52:25 -04:00
Paul Licameli
004df48438 Make Effect::mTracks private 2017-03-17 17:52:25 -04:00
Paul Licameli
aa0d55ac83 Use enum class ProgressResult, don't interconvert with int or bool 2017-03-17 17:52:24 -04:00
Paul Licameli
5036583549 Fewer inclusions of AudacityApp.h 2017-03-17 17:52:24 -04:00
Paul Licameli
a9396b912d Change required to compile certain uses of finally, I don't know why 2017-03-17 17:52:23 -04:00
Paul Licameli
d174099c3d Disallow copy of Sequence 2017-03-17 17:52:23 -04:00
Paul Licameli
b019e28a53 remove unused variable 2017-03-17 17:52:23 -04:00
Paul Licameli
c55d83898a Clarify operator precedence 2017-03-17 17:52:22 -04:00
Paul Licameli
3e51fd5078 fix some comments 2017-03-17 17:52:22 -04:00
Paul Licameli
6665370f61 Fix spelling in a function name 2017-03-17 17:52:21 -04:00
Paul Licameli
9af53f92cc un-confused editor indenting 2017-03-17 17:52:21 -04:00
Paul Licameli
81285ee0c1 More const and override 2017-03-17 17:52:20 -04:00
Paul Licameli
9ddb5bb1f3 more use of size_t 2017-03-17 17:52:20 -04:00
Paul Licameli
12a78f9fae Some maintenance of experimental branches, mostly compilation 2017-03-17 17:52:19 -04:00
Paul Licameli
4913b124b2 Correct the argument passed to OnEffect by EffectRack 2017-03-17 17:52:19 -04:00
Paul Licameli
cde1e1eaab Remove some duplication, fix EXPERIMENTAL_OUTPUT_DISPLAY and Esc key 2017-03-17 17:52:18 -04:00
Paul Licameli
64d163ebcd Make EXPERIMENTAL_OUTPUT_DISPLAY compile 2017-03-17 17:52:18 -04:00
Paul Licameli
ed8c7fd60d Make EXPERIMENTAL_MIDI_OUT compile, but it fails to link 2017-03-17 17:52:18 -04:00
Paul Licameli
1e8f0e5a59 EXPERIMENTAL_VOICE_DETECTION: compile, use const, more careful casts 2017-03-17 17:52:17 -04:00
Paul Licameli
4c6306e6d6 Fix compilation of old NoiseRemoval 2017-03-17 17:52:17 -04:00
Paul Licameli
e7c0862546 Fix compilation of EXPERIMENTAL_OD_FFMPEG 2017-03-17 17:52:17 -04:00
Paul Licameli
463e7d971d Make EXPERIMENTAL_FIND_NOTES work again 2017-03-17 17:52:16 -04:00
Paul Licameli
dbb2f04def Incomplete fixes for compilation of EXPERIMENTAL_EQ_SSE_THREADED 2017-03-17 17:52:16 -04:00
James Crook
f061b0b853 Prepare for 2.2.0 Release Cycle.
* IS_ALPHA to 1
* Version number to 2.2.0.
2017-03-17 20:39:11 +00:00
James Crook
2fef7f34b8 No longer force local FFMPEG and LIBFLAC Audacity-2.1.3 2017-03-13 21:02:21 +00:00