1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-08 16:11:14 +02:00

6215 Commits

Author SHA1 Message Date
David Bailes
a22be24ae3 Bug 1863: Windows crash when resampling in WASAPI
Problem: soxr_process doesn't like being called with length of buffers equal to zero.

Fix: don't call it, when this is the case.
2018-05-22 11:34:12 +01:00
Paul Licameli
318967f00d Revert "If record overrides append because of channel count, record unlimited"
This reverts commit b36482d6494063e6799f793ed5e6b9b696125b1a.
2018-05-17 21:22:31 -04:00
Paul Licameli
1269fff8e1 Ignore the time track during overdub recording. 2018-05-17 15:49:53 -04:00
David Bailes
4221549ec9 NumericTextCtrl: fix minor bug with NVDA screen reader
Problem: with using up/down arrow NVDA reads the updated field twice.

Fix: remove generation of an unnecessary event.
2018-05-16 14:10:53 +01:00
Steve Daulton
32212d7fcd Dissallow OD loading for lossless copy projects
Opening a backup copy project converts to a normal project. We copy in
the dependencies when we convert to ensure that the project remains
complete and self contained (which is not guaranteed with OD loading).
2018-05-15 20:29:51 +01:00
Steve Daulton
77a65a8a97 Replace AIFF preset with WAV 24 on Windows + Linux
and just add WAV 24-bit on Mac.
2018-05-15 13:39:24 +01:00
Steve Daulton
24ac6a2d2b Fix crash if invalid [Export] format 2018-05-15 10:29:41 +01:00
Steve Daulton
419ecd411d Save lossless copy of project 2018-05-14 21:09:07 +01:00
Steve Daulton
30f1fa58a1 Disallow copy of project to overwrite 2018-05-13 18:27:08 +01:00
Steve Daulton
4ff319b0e9 Merge branch 'master' of github.com:SteveDaulton/audacity 2018-05-13 15:06:42 +01:00
Steve Daulton
522660c9cc Fix layout of dependency warning 2018-05-11 21:38:11 +01:00
Steve Daulton
87439b5761 Prompt before overwriting another project 2018-05-11 21:36:10 +01:00
David Bailes
a13e7191c4 Add an option to use a dialog to enter the name of a new label
Motivation:
1. The text boxes in the label track are not fully accessible for users of screen readers, and I don't think that they can be made to be fully accessible using the accessibility API used by wxWidgets. When such an edit box becomes the focus, this is not announced, and for NVDA users typed characters are not echoed.

2. Provides a work around for bugs 1778 (cannot type diacritics into text label), and 1804 (Windows: Labels do not accept IME (Chinese/Japanese) input).

Fix: Provide an option for a dialog for entering the name. The text box in the dialog is accessible for screen readers. On windows the text box receives wm_keydown and wm_char messages and so is a work around for bug 1804. Being a standard text box, it will presumably be a work around for bug 1778.

1. There is a new option in track behaviors: "Use dialog for the name of new label", which is off by default.

2. When using the commands "Add label at selection" and "Add label at playback position", when the dialog closes, focus is returned to the track which was the focus before the dialog opened. I think this is more convenient for users of screen readers.
2018-05-11 10:23:48 +01:00
Paul Licameli
c20aefc10f Save, later rethrow exceptions caught in callbacks from C libraries 2018-05-10 01:20:36 -04:00
Paul Licameli
ac373502a9 Don't need AudacityException::Move, use std::exception_ptr 2018-05-10 00:56:37 -04:00
Paul Licameli
83421e8b17 Replicated C++11 library things no longer needed 2018-05-10 00:56:37 -04:00
Paul Licameli
a9e7a7e5d5 movable_ptr(_with_deleter) -> std::unique_ptr 2018-05-10 00:56:37 -04:00
Paul Licameli
b8a8712ba0 make_movable -> std::make_unique 2018-05-10 00:56:36 -04:00
Paul Licameli
7a0475e39f Remove most uses of AUDACITY_OLD_STD 2018-05-10 00:56:36 -04:00
Paul Licameli
56c42e870e Bug1871: Make Effect::Preview cleanup sequence as was before 79c3bef 2018-05-10 00:50:24 -04:00
Steve Daulton
00615831cc
define EXPERIMENTAL_REWRITE_RING_BUFFER 2018-05-09 15:32:02 +01:00
Steve Daulton
504cf0fe85 Runtime translation for 3rd party Nyquist plug-ins
3rd party plug-ins may provide their own translations for runtime
messages (return strings and debug messages).
2018-05-06 17:50:43 +01:00
Steve Daulton
705fc96208
Update export warnings
Attempt to reduce confusion (as reported on the forum) re these messages.
2018-05-04 10:22:04 +01:00
Steve Daulton
0d5fb01c97 Can't call Fit() on (negative) wxDefaultSize
and SetSizeHints will call Fit()
2018-05-02 16:11:35 +01:00
James Crook
9e92f4f370 Use path separator that depends on platform (in screenshot tools). 2018-04-29 22:25:34 +01:00
Steve Daulton
837d5e18f3 Fix Audacity failing silently on new instance
Should now behave the same on Linux as on Windows.
2018-04-29 21:03:13 +01:00
Steve Daulton
0248c870b2 Rename "Sliding Time Scale/Pitch Shift" effect 2018-04-28 21:16:41 +01:00
Steve Daulton
4733cd7775 Update enum name to match control type name 2018-04-28 20:04:12 +01:00
Steve Daulton
16ff3b4053 Nyquist text widget must not fail verification 2018-04-28 19:58:23 +01:00
Steve Daulton
cf07f858ec NumericTextCtrl for time input in Nyquist plug-ins
Also add widget for inserting a line of text into a Nyquist plug-in.
2018-04-28 19:18:32 +01:00
James Crook
660dc03b9f GetInfo tweaks.
JSON now more consistent, using structs rather than arrays.
Removed unused GetInfo Command+
2018-04-27 12:45:29 +01:00
James Crook
ae36eea26c Bug 1855 - Accelerators not removed from names in translation 2018-04-22 19:46:09 +01:00
James Crook
de1e8d96de Fix TimerRecord ASSERT in debug builds.
Caused by misuse of sizers.
2018-04-22 18:08:52 +01:00
James Crook
7c8d4dc26e Bug 1835 - Mixer Board track names do not update immediately on updating track names 2018-04-22 17:34:21 +01:00
James Crook
b1e0add67f Bug 1870 - Mixer Board on Windows - with a single track the window cannot be moved on the screen 2018-04-22 16:59:20 +01:00
James Crook
fb490c24b8 Change wxMilliSleep from 10ms to 50ms
10ms is refreshing too often, and inconsistent with other places where it is 50ms.
2018-04-22 15:33:05 +01:00
Steve Daulton
7bc32734ae Clear TODO: comments for Nyquist docs 2018-04-19 22:21:42 +01:00
James Crook
b71b805534 Bug 1868 - Track selection fails at a certain critical track height. 2018-04-16 22:52:20 +01:00
James Crook
121fdc5703 Fix non-ASCII characters in wxLogDebug
The LogDebugs aren't needed now, as we can get the info via Scripting.
2018-04-15 15:09:15 +01:00
James Crook
42fb02bf9c Remove 4x bevel on MixerBoard
Now that we use colour to show selected/not-selected the 4x bevel looks clunky.  So reduced to a single bevel.
2018-04-15 15:07:58 +01:00
James Crook
933c86dce3 Draw slider background in correct colour on MixerBoard. 2018-04-15 13:46:03 +01:00
James Crook
35d24bbed5 Tweak spacing in vertical rulers.
This is most relevant in MixerBoard.
2018-04-15 11:48:51 +01:00
James Crook
c8a31324bc Remove dead code from SelectionBar
and add some comments.
2018-04-14 22:20:08 +01:00
James Crook
c34dd3172b Reduce flicker of Selection Toolbar Text
Previously there could be long delays between erasing text and painting it.
Now we erase in the paint event.
2018-04-14 21:38:53 +01:00
James Crook
5120a9dfc6 Fine tune spacing between minor ticks in rulers.
The main point of this is not to ask for overcrowded rulers.

We already handle overcrowded rulers well, by not showing the minor ticks.
This change means that we are more likely to ask for a spacing that works.
In turn that means that we are less likely to have anomalies where numbers disappear due to overcrowding and reappear again as you resize the ruler.
2018-04-14 15:44:56 +01:00
James Crook
a2a68d9a3b Add Comment: C++11 polyfiller is on the way out. 2018-04-13 20:24:52 +01:00
James Crook
8344a2bae9 Bug 1867 - Jumping numbers on meter resizing
They jumped because of overcrowding.  Now when overcrowded, don't show
any minor numbers.
2018-04-13 19:26:56 +01:00
James Crook
6d96ec1e52 Fix sizer ASSERT with equalization dialog. 2018-04-13 19:25:19 +01:00
James Crook
5fd1f7e606 Bug 1866 - Mac: Sliders have black backgrounds when building on wx3.1.1
Also fixes flicker of sliders on dragging the slider.
2018-04-13 17:24:02 +01:00
James Crook
7178879397 Flicker-Free Grabbers and Mic/Speaker icons.
Previously we were clearing in Erase Background, giving lots of flicker when resizing some toolbar.
Also fixed a mac Slider background painting issue.
2018-04-13 09:48:20 +01:00