1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-02 17:09:26 +02:00

5939 Commits

Author SHA1 Message Date
Paul Licameli
56586770e0 EffectClientInterface::SetSampleRate takes double...
... All the overrides (except Ladspa) were casting it to floating poing anyway
2016-08-21 09:51:32 -04:00
Paul Licameli
5cf331ae8c Rewrite WaveTrack::GetEnvelopeValues, taking one less argument...
... In practice this argument was always 1 / rate so it was superfluous.

Also make the buffer size argument unsigned.
2016-08-21 09:45:53 -04:00
Paul Licameli
0c4c835b27 Write and read the wide aliasStart fields carefully...
...They may never have been large enough to matter, but some seek offsets into
files were written as 64 bits but read back as only 32.  It ought to be
consistent.
2016-08-21 09:18:06 -04:00
Paul Licameli
a1d930322c Rewrite Sequence::FindBlock using size_t variables for indices 2016-08-21 09:16:20 -04:00
Paul Licameli
49e699b1df Remove overloads for sampleCount from ConfigInterface...
... The value was always cast to int anyway when writing, and it was used
only for one value in VST effect, which did not need 64 bits
2016-08-21 09:11:44 -04:00
Paul Licameli
854651306c A mutex guarding access to this variable made volatile unnecessary 2016-08-21 09:00:18 -04:00
Paul Licameli
2a7d8dca77 time warper bug 2016-08-21 08:59:48 -04:00
Paul Licameli
4011eba627 Fix bug in disabled experimental code...
a * had got replaced with , and no compiler error!
2016-08-21 08:51:42 -04:00
James Crook
30bbbb3a14 Hide Scrub Bar, by default. 2016-08-20 22:40:30 +01:00
James Crook
28ea4a4bc9 Merge remote-tracking branch 'upstream/master' into darkaudacity 2016-08-20 22:35:50 +01:00
Paul Licameli
5761972dfa BHug1488: Don't crash exiting from command-line benchmark test...
Problem was that cfd7648fce2388ec8ae35b38004f2ae111c484af fixed a memory leak
but created a dangling pointer bug, which does not happen during usual run
of Audacity because AudacityProject::OnCloseWindow is reached then before
destroying AudacityProject.

Fixed it by using a std::shared_pointer for the TrackList that both
AudacityProject and TrackPanel must use.
2016-08-20 13:58:56 -04:00
James Crook
05fe684114 Ungrey more actions, if paused.
This introduces a new variable, mStopIfWasPaused (default true).  Actions which require AudioIONotBusyFlag will now stop the audio, if audio was busy but paused and attempt to continue.

We could perhaps make mStopAudioIfWasPaused into a preference, but I don't think we need to keep even the option of the old behaviour.
2016-08-20 18:52:30 +01:00
James Crook
f77000bcfb Update Danish translation (da.po). 2016-08-20 16:55:20 +01:00
James Crook
59988357fb Change default state of scrub bar. Make Togglable via QP.
1) Enable scrub bar by default, to increase visibility of the new feature.
2) Add 'Enable/Disable Scrub Bar' to QP right click menu.

Did not remove Scrubbing from transport menu, as to do so disables scrubbing.
2016-08-20 16:02:06 +01:00
James Crook
28f078dcf7 Bug 1486 - Show/Hide scrub-bar does not persist. 2016-08-20 14:59:36 +01:00
James Crook
e72b814736 Use identical pinned/unpinned images for button and play head. 2016-08-20 00:48:24 +01:00
James Crook
1184cd54fe Capitalise 'Manual'
(pointed out by Peter).
2016-08-19 22:07:49 +01:00
James Crook
b1526fbdc8 Change strings for clarity/consistency.
Changes suggested by (translator) scootergrisen
2016-08-19 19:30:21 +01:00
James Crook
6b4a43a0a7 Fix some web addresses which changed with the manual moving. 2016-08-19 19:20:05 +01:00
James Crook
6641c73f59 Sync-Lock -> Time-Lock 2016-08-19 19:05:09 +01:00
James Crook
2acbc01845 Audacity -> DarkAudacity in error messages etc. 2016-08-19 18:52:28 +01:00
James Crook
4565703c50 Stop flicker of Grabbers. 2016-08-19 17:53:39 +01:00
James Crook
6387b74a98 Implement "Save Other" MP3, WAV, OGG. 2016-08-19 17:49:43 +01:00
James Crook
2f54bf197c Change release to reset in ASlider to fix memory leak.
Thanks Paul for alerting me to this.
2016-08-19 13:48:23 +01:00
James Crook
51696162b2 Restore dark numbers on equalization effect. 2016-08-18 23:21:53 +01:00
James Crook
1e46d60ee0 Merge remote-tracking branch 'upstream/master' into darkaudacity
Conflicts fixed by hand:
	src/widgets/ASlider.cpp
2016-08-18 22:56:11 +01:00
James Crook
8b90a8f34d Fix bug where MixerBoard sliders did not redraw on resizing.
Vital feature of MixerBoard as the point is to be able to have large sliders.
The problem was that the slider background was cached in a bitmap, and that cached image was not being refreshed on a resize.
2016-08-18 22:52:27 +01:00
James Crook
18422d0e5f Set colours for MixerBoard 2016-08-18 22:17:05 +01:00
James Crook
af61389322 Fix memory leak in CalculateSpaceUsage
Memory leak was caused by diagnostics.
2016-08-18 21:50:34 +01:00
James Crook
df1f69850e Fix memory leak in WriteXML
Memory leak was caused by diagnostics.
2016-08-18 21:47:27 +01:00
James Crook
7901b616ad Use Record Below in menus. 2016-08-18 21:43:25 +01:00
James Crook
d0314d952f Cast-away a type mismatch 2016-08-18 20:11:01 +01:00
James Crook
5b03dd5e33 Use recording channels pref in append-record channel count. 2016-08-18 20:06:41 +01:00
James Crook
13e8a81276 Merge remote-tracking branch 'upstream/master' into darkaudacity 2016-08-17 22:27:43 +01:00
James Crook
18e281ea3c Swap meaning of record and shift record. 2016-08-17 21:56:37 +01:00
Paul Licameli
1cfffdb25a Bug1482: fix hangs caused by 8b72bd2f92b27b60a3e631dab53b16750228ea59 2016-08-17 16:50:39 -04:00
Paul Licameli
debe935099 Bug1482: fix hangs caused by 8b72bd2f92b27b60a3e631dab53b16750228ea59 2016-08-17 16:49:55 -04:00
Paul Licameli
012ceed3ea Merge branch 'master' into deletes 2016-08-17 16:48:36 -04:00
James Crook
47f8d27c59 Updated Time-Sync images and label colour. 2016-08-17 17:45:49 +01:00
James Crook
40dc43150f Added TODO (dock indicator to be a bitmap). 2016-08-17 17:45:03 +01:00
James Crook
2ea315e185 Set colour of docking indicator (was blue). 2016-08-17 16:29:54 +01:00
James Crook
b743f1d5b6 Hide more bars by default. 2016-08-17 16:14:37 +01:00
James Crook
eaf2037a17 Dark background for sliders. 2016-08-17 16:04:45 +01:00
James Crook
0db05760a8 Merge remote-tracking branch 'upstream/master' into darkaudacity
Conflicts fixed by hand:
	src/widgets/Ruler.cpp
2016-08-17 15:28:39 +01:00
David Bailes
a17966609f Fix for bug 1480
Baselines of text produces by ShuttleGuiBase::AddPrompt and ShuttleGuiBase:AddUnits are different.

Simple fix of changing a style. Presumably this was a typo.
2016-08-17 10:35:40 +01:00
Steve Daulton
c042b0c7c6 Fixed table size for soft clip Limiter
Fixes exceeding max table size at high sample rates.
2016-08-16 21:03:52 +01:00
Paul Licameli
888b41aafc Fix a few more naked news and deletes 2016-08-16 14:45:23 -04:00
Paul Licameli
a0a76e86d1 Remove naked new and delete in effect preview 2016-08-16 13:30:26 -04:00
Paul Licameli
52cb094f0f A safenew and comment changes 2016-08-16 13:00:07 -04:00
Paul Licameli
3dfed7a79a Manage block files with std::shared_ptr, BlockHash stores weak_ptr 2016-08-16 12:30:18 -04:00