1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-07 07:12:34 +02:00

5780 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
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
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
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
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
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
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
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
Paul Licameli
8b72bd2f92 Manage block files with std::shared_ptr, BlockHash stores weak_ptr 2016-08-16 12:29:59 -04:00
Paul Licameli
84ccdca5c3 Gather balance info hashes into one struct guarded by an accessor...
Doing BalanceInfoDel in this delayed fashion will be needed when the other
call to it is eliminated, as shared_ptr simplifies the management of BlockFile
and makes the many calls to Ref and Deref disappear.
2016-08-16 12:29:59 -04:00
Paul Licameli
cde61edbf4 Don't assume BlockHashes contain non-null pointers ...
... They won't always, when they become weak pointers.
2016-08-16 12:29:59 -04:00
Paul Licameli
e7b4d935a5 Hide the use of new in factory functions for BlockFiles 2016-08-16 12:29:59 -04:00
Paul Licameli
2ede67be96 Use type alias for pointer to BlockFile, which is still a dumb pointer 2016-08-16 12:29:59 -04:00
Paul Licameli
dc7c4383fc Merge branch 'master' into deletes 2016-08-16 12:29:39 -04:00
Steve Daulton
7b14e68b37 Pass name of proxy effect to EffectSBSMS
Allows progress bar to show meaningful title when using SBSMS
time stretching in Change Pitch/Tempo.
2016-08-16 14:54:34 +01:00
David Bailes
19fa6d2833 Improvements to accessibility names in Change Tempo effect.
The change tempo effect was modified in commit 8e0089c.
The most significant change is to include the "from" length in the accessibility name of the "to" length textctrl. (The nvda screen reader cannot access the value of the "from" length textctrl, and it's not straightforward using Jaws. Note that this issue existed before the recent change of Change Tempo.)

There remains a minor issue of Jaws, but not NVDA reading the names of wxStaticBoxes, and so some repetition in what is read by Jaws.
2016-08-16 13:57:19 +01:00
Paul Licameli
1cad18c479 Merge pull request #150 from RaphaelMarinier/optimize_selection_bar_update_master
Optimize the refresh of the selection bar while Audacity is playing.
2016-08-15 22:04:42 -04:00
Paul Licameli
15a60bde4b Fix linux debug complaints of missing thread shut-down...
... caused by commit b47bcb548e7866c1a44a4600ffbeff0ae0445516
2016-08-15 21:21:09 -04:00
Gale Andrews
5a8801fcd6 Mark Young's change to download Audacity as step 2
And update copyright date
2016-08-15 23:10:50 +01:00
Paul Licameli
48731c08b2 Rewrite functions managing the missing block file... 2016-08-15 13:15:39 -04:00
Paul Licameli
c9204af7fe Rewrite functions managing the missing block file...
... removing one ref and deref of block files.

This unblocks a future development that will manage all block files with
std::shared_ptr.
2016-08-15 13:04:19 -04:00
Paul Licameli
5752dbab02 shared_ptr manages AudacityProject objects, so weak_ptr may be used 2016-08-15 12:43:50 -04:00
Paul Licameli
3c4ac1861c Declare a method as const 2016-08-15 12:43:50 -04:00
Paul Licameli
1010e16fe4 Merge branch 'master' into deletes 2016-08-15 12:28:12 -04:00
Gale Andrews
973358339d Pinned option first (more logical), add access key 2016-08-15 15:40:24 +01:00
Steve Daulton
8e0089c552 Add SBSMS option to Change Tempo effect
Thanks to Clayton Otey for his help and patience.
2016-08-15 12:33:33 +01:00
James Crook
f4f077a1c6 Merge pull request #133 from rbuj/ca-20160508
Update Catalan translation
2016-08-15 09:59:32 +01:00
zhangmin
1b8951d115 Simplified Chinese translation update. 2016-08-15 09:51:34 +01:00
Zygimantus
4a579cab45 Lithuanian translation update. 2016-08-15 09:49:38 +01:00