1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-06 17:13:49 +01:00
Commit Graph

7168 Commits

Author SHA1 Message Date
Paul Licameli
aae544befe Determinate order of names under Tools> Apply Macro...
... There was a complaint that it was neither by name or by date for some users
2019-02-19 14:16:28 -05:00
Steve Daulton
e609a9dcef Fix bug 2069
Macros: Change Pitch in a Macro does not remember speed parameter setting
Also, Change Pitch did not remember settings after restart.
2019-02-17 18:44:22 +00:00
Paul Licameli
4ba373f2d9 Failed open of block file gives correct error message 2019-02-13 14:17:00 -05:00
James Crook
1d40f33eba Rename 64 bit ffmpeg libs.
Also change the prompting to suggest the new/expected name.
2019-02-13 10:14:13 +00:00
James Crook
c912b13747 Bug 2046 - LAME not found error on 64-bit Mac build shows wrong library (32-bit one)
Audacity now looks for libmp3lame64bit.dylib on mac.
It also reports 64 bit in the build tab in about Audacity if built for 64 bit.
2019-02-10 07:37:37 +00:00
Paul Licameli
d4c8e9e7b9 Bug2056 residual: Linux only time ruler drags and focus...
... Cross platform differences in Focus handling are confusing, and we don't
know yet how to abort drags and also put focus back where we want it on Linux.

So don't take focus even temporarily in the time ruler.  Sorry, ESC key won't
work.
2019-02-09 18:38:37 -05:00
Mike Barker
4e57a369be Bug Fix 1979 and fix CreateHardLink arg conversion errors 2019-02-09 17:57:52 -05:00
Paul Licameli
9d18263be6 Bug2059: Save empty,record,save-as shouldn't delete old _data folder 2019-02-09 17:04:45 -05:00
David Bailes
012d707a8a Bug 2060: Windows: no access to microphone causes crash
Problem:
1. Set no access to microphone in Privacy category of Settings app.
2. Try to record in a new track. (not append to an existing track.)
3. Audacity crashes.

Cause of crash:
TrackPanel::OnTrackListResizing is called with a track after a call to
TrackList::ClearPendingTracks, which has removed its owner.
TrackPanel::OnTrackListResizing ends up calling TrackPanel::UpdateTrackVRuler,
and this function calls TrackList::Channels(t)), which assumes the track has an owner.
Crash.

Fix: in TrackPanel::OnTrackListResizing, check that the track has an owner.
2019-02-05 14:29:22 +00:00
Paul Licameli
93f4e3bd66 Bug2056: TrackPanel should keep focus after quick play...
... Fixed as suggested by David Bailes.

Confirmed on Mac and Windows that the intended ESC key handling to abort drag
in the ruler also now works.  (It didn't on Windows in 2.3.0.)
2019-02-01 14:30:19 -05:00
Paul Licameli
d3316173b6 Fix unwrapped wxMessageDialog, small mistake in aee4005 2019-01-29 13:03:50 -05:00
Paul Licameli
38849cc902 Null check in AudacityApp:OnExceptionInMainLoop 2019-01-28 16:49:48 -05:00
Paul Licameli
0941eaa0d5 Bug2058: shouldn't lose data in original project when saving-as...
... Bug was introduced at commit e87e15f, which was part of an unsuccessful
attempt to fix performance Bug1979
2019-01-26 14:23:37 -05:00
Steve Daulton
b3dafcedd1 Fix: bug 2054
Windows: Macros - "ExportMP3 before" and "ExportMP3 after" overwrite
causing non-critical data loss.

Thanks to Mike Barker for locating the problem.

This fix also corrects the bit-rate for the ExportMP3_56k commands.
2019-01-21 10:21:03 +00:00
Steve Daulton
226851ab91 Fix empty string a no-op for all Nyquist plug-ins
Previously an empty string would preven ;type process plug-ins
from continuing to other tracks.
2019-01-14 16:25:53 +00:00
Steve Daulton
5a7b6a7323 Fix multiple selection Nyquist file widget
Wx "Style" flags are 4 bytes, not 1 byte.
Also update a couple of comments in passing.
2018-12-27 19:44:15 +00:00
Paul Licameli
b2a45a17da Fix display of stereo first time reopening compressed/losseless save 2018-12-20 14:13:53 -05:00
Paul Licameli
340bd20fc6 Fix data loss saving a stereo track lossless or compressed...
... in case clip boundaries don't match and the right channel covers a greater
time extent than the left.

Don't lose those parts of the right channel, before or after, and also make the
start time of the project correct in case the right channel starts earlier.

This is an old bug, going back as far as the git history.
2018-12-20 13:53:38 -05:00
Steve Daulton
03b82618b2 Fix typo error in SetProjectCommand
Error was introduced in cb55164c43.
2018-12-04 17:32:13 +00:00
James Crook
0eb778631b Bug 2045 - Clicky playback with Play-at-Speed and Scrubbing/Seeking 2018-12-03 21:04:50 +00:00
James Crook
bd2547828e Bug 2044 - Mac: no context menu when right clicking in label after copying label text to another app 2018-12-03 16:17:17 +00:00
James Crook
253aca7eec Bug 2035 - Save Project fails to display error message on Save with overfull disk 2018-12-02 21:55:58 +00:00
James Crook
b3a3b05e40 Bug 2034 - Mac: first use of Record on 64-bit Audacity causes EGAs, Exports, Imports and Saves to be grayed out
This is a guess at the root cause of the bug.
2018-12-02 20:00:21 +00:00
James Crook
5e1ec8dbe5 Bug 2028 - Mac: Audacity crashes when right clicking in label after copying label text to another app
With the steps in bug 2028, FindFocus() could return a nullPtr - which is now safe.
No right context menu will appear though.

This looks like a bug in wxWidgets.

We could take more/different steps to find the parent for the LabelTrack, if we really want to do that.  However, this change is enough to close the bug.
2018-12-02 18:54:35 +00:00
James Crook
5a87d5ea67 Bug 2040 - Linux: Assert on recording or generating when main Window minimised 2018-12-02 16:58:17 +00:00
Steve Daulton
800ddae34b Fix bug 2041
Nyquist: Generating audio at a point within a track, deletes audio
after the generated audio.

This fix corrects errors in b9ec434.
2018-11-29 11:43:00 +00:00
James Crook
465148cb3e Bug 2039 - Macros: Reload parameter not remembered.
This arose from the conversion from optional parameters to required parameters.
The same problem was found in Screenshot command and in open/save command.
2018-11-27 13:23:32 +00:00
Steve Daulton
d26b17eea5 bug 2011 - dlg.Raise() only required for GTK 2018-11-26 21:06:45 +00:00
Steve Daulton
7c0d05fc18 Fix for bug 2011 - Label Editor
Linux: Audacity may stop responding to GUI after opening Label Editor
2018-11-20 19:52:31 +00:00
Steve Daulton
85af1b981a Fix for bug 2030 - Manage dialog
Windows: Manage dialog in effects has reduced vertical height
OK and Cancel buttons.
Bug also affected Linux.
2018-11-19 01:48:14 +00:00
Steve Daulton
e65e1d39d8 Fix for bug 2013
Bug 2013 - Extended ASCII characters in Nyquist plug-ins freeze Audacity

We previously assumed that plug-ins would always be valid UTF8, but
if it isn't then the conversion to wxTextInputStream fails, causing
pgm.ReadLine() to perpetually return a zero length line.
2018-11-18 21:37:15 +00:00
Paul Licameli
a7583da349 Include Experimental.h before a use of EXPERIMENTAL_DA...
... I checked, and there are no other missed inclusions of Experimental.h
before tests of EXPERIMENTAL_* macros, except the special handling of version
numbers in Audacity.h.
2018-11-16 22:54:47 -05:00
Paul Licameli
7c25e555ac Fix warning about redefinition of a macro 2018-11-15 11:23:16 -05:00
Paul Licameli
6d679a65e6 Fix 4 warnings related to Objective C++ 2018-11-15 11:23:16 -05:00
Paul Licameli
6e14dab4f4 Fix a clang compiler warning 2018-11-15 11:23:16 -05:00
Paul Licameli
41d0ac1b65 reinterpret_cast not C-style cast. (The cast value is always 0). 2018-11-15 11:20:22 -05:00
Paul Licameli
7d0b4c582a Make VSTControlOSX.mm compilable with _LP64 2018-11-15 11:19:37 -05:00
Paul Licameli
7c1216edc6 Redo resource RAII without the dubious casts 2018-11-15 11:15:19 -05:00
Steve Daulton
cc34abea61 bug 2018 - Equalization does not retain settings
Thanks to David Bailes for the fix.
2018-11-13 15:52:18 +00:00
Steve Daulton
520659f0de Update VRulers after macro vzoom command 2018-11-12 01:37:11 +00:00
Steve Daulton
42e0cd7f25 Add 'vzoom' and 'kind' to GetInfo Tracks 2018-11-11 20:00:18 +00:00
Steve Daulton
6c71e02d28 Add 'Advanced Vertical Zooming' to 'View' menu 2018-11-11 16:57:36 +00:00
Steve Daulton
277473f0de Add min and max VZoom to SetTrackInfoCommand 2018-11-11 16:57:36 +00:00
Steve Daulton
d9b5129e64 Fix assert when mixing to new track 2018-11-10 15:04:13 +00:00
Steve Daulton
26e19bfd5a Add aud-do-support.lsp for Linux build
Provides Nyquist (LISP) wrapper functions for macro "Commands".
2018-11-09 19:57:56 +00:00
Paul Licameli
2d650fa0e8 Rename LabelTrack::IsSelected so it doesn't shadow Track::IsSelected 2018-11-08 11:08:19 -05:00
David Bailes
03b0d3f89a Bug 2025: Windows: Wasapi: seek commands can cause crash
Problem: With host set to WASAPI: if the playback position is less that about ten seconds before the end of any of the tracks and the user presses one of the left/arrow keys to seek, then a bug alert appears, and it's seems like it's impossible to recover from this.

libsoxr 0.1.3, first used in Audacity 2.3.0, crashes with constant rate resampling if you try to reuse the resampler after it has flushed.

Fix: work around which is the same as used for bug 1887 - recreate resamplers, rather than reusing them.
2018-11-07 14:58:12 +00:00
Paul Licameli
03e67b9bcd Bug2026: drawing channel separator on Windows...
... This shouldn't make a difference, but it does.  I suspect MSVC 2017
compiler bugs still remain in implementing braced initialization.
2018-11-06 20:17:14 -05:00
Paul Licameli
50cf2e9a1f Give TrackArtist a back-pointer to TrackPanel 2018-11-05 10:54:58 -05:00
Paul Licameli
4ebfbd9c50 Split class TrackArtist from namespace TrackArt...
... The first is just extended drawing context info, and the second has
functions that retrieve TrackArtist from TrackPanelDrawingContext as needed.
2018-11-05 09:16:50 -05:00