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

9545 Commits

Author SHA1 Message Date
James Crook
3480f5aa3a Bug 1934 - Generate audio from Nyquist prompt crash
We now default to Effect (EffectTypeProcess), if no type was specified.
2018-08-13 12:29:31 +01:00
Steve Daulton
11da92d668 Allow capture retries if time since Rescan() < 10s
The time since Rescan() of recording device is the important factor,
not the "newness" of the project.
2018-08-13 00:33:38 +01:00
Paul Licameli
aeba34b152 Bug1930: should draw bottom channel when append-recording...
... Bug happened only when append-recording by pressing the toolbar button, not
by using a shortcut key; and the blank track did get drawn if you moused over
it or hid and showed the window.

Turns out TrackPanel::ProcessUIHandleResult did the needed update, which was
lacking otherwise.  Now TrackList::UpdatePendingTracks is called in another
place.
2018-08-12 19:28:24 -04:00
Paul Licameli
542adefac1 Bug1931: more precautions, higher level and more general...
... Do for release as was already done for click and drag:  hold a shared
pointer.

This will protect against reentrancy surprises as in this bug, where a
reference to the handle may be removed during one of the handle's own
methods.
2018-08-12 15:55:27 -04:00
Paul Licameli
328aa58966 Bug1933: commit 2c28af05e8be98aa9ab609823d1ff1d27fb needs null checks 2018-08-12 15:44:08 -04:00
Paul-Licameli
932734c89a Windows: don't crash if double-clicking on ruler during playback 2018-08-12 14:43:45 -04:00
Paul Licameli
04a69f0a4c Bug1931 -- Dbl-click ruler in Windows shouldn't violate assertion...
... This change isn't needed for Mac, but is harmless there.
2018-08-12 14:16:16 -04:00
Steve Daulton
835abd9be3 bug 1885 Linux: Allow retries when opening capture
On launch, Audacity scanning the sound system causes Pulse to grab
exclusive control of the audio device, causing the device to be
unavailable until Pulse times out and releases it.

If an attempt is made to start recording from the hardware device (hw:)
immediately after launch, PortAudio will time out before the device is
released. In this case we need to retry opening the capture stream.

(This also applies to monitoring).
2018-08-12 19:14:56 +01:00
Steve Daulton
1d22ca5789 Improve error message when capture stream fails
Rather than just guessing at the cause of the error, include the actual
error string from PortAudio.
2018-08-12 19:14:56 +01:00
Paul Licameli
90286acb6a Update some translations 2018-08-12 11:11:13 -04:00
A. Regnander
ea6e053f11 Update sv.po (#259)
* Update sv.po

Fixed a few typos, adjusted the ampersand for the "Extra" context menu, updated an old string, rewrote some strings

* Update sv.po
2018-08-12 11:01:57 -04:00
Paul Licameli
dc4ee28b18 msgmerge -U pl.po audacity.pot to normalize line breaks 2018-08-12 10:55:50 -04:00
Paul Licameli
4bbeb502e1 Updated pl.po -- Polish from Transifex 2018-08-12 10:54:18 -04:00
Paul Licameli
eb3fb01595 Fix one format directive in it.po 2018-08-12 10:40:18 -04:00
Valerio Bozzolan
3df5b04129 fix typos and fuzzys in it l10n 2018-08-12 10:39:20 -04:00
scootergrisen
dc603341ee Fix double space 2018-08-12 10:27:08 -04:00
jjimmyleo
263f4fe9f4 Update to Lithuanian language
I have noticed that the lithuanian language file has not been updated for ages and was only a few percent completed so I pushed the completion to about 50 percent. I'll fully complete it soon but just wanted to have half of it out there
2018-08-12 10:26:16 -04:00
Paul Licameli
506f6c3a2a Updated ko.po -- Korean from transifex, 90% complete 2018-08-12 10:04:40 -04:00
Alexandre Prokoudine
1ee2544a46 More fixes to ru.po 2018-08-12 09:53:42 -04:00
Alexandre Prokoudine
2b8b92210c Fix ru.po 2018-08-12 09:53:42 -04:00
Alexandre Prokoudine
3af1af5ecd Update ru.po 2018-08-12 09:53:42 -04:00
Paul Licameli
d55ca06db0 Remove unused member 2018-08-12 08:25:50 -04:00
James Crook
d59ed9026b Bug 1890 - Enh: Punch and Roll fails when splice point is at track end 2018-08-12 11:34:08 +01:00
Paul Licameli
3886113b91 More efficiency in TrackTimeUpdate 2018-08-11 20:37:23 -04:00
Paul Licameli
ce1ce688ff Try to clarify real time / track time distinction in comments...
... Rather than the confusing old terminology of "warped" time, meaning the
real time after accounting for time track, though that persists mostly in the
names of variables now mostly used only within PlaybackSchedule.

"Track" time refers to a position in a wave track, as indexed by the time
ruler.

"Real" time is indexed by the other scale of numbers drawn in the time track,
which is drawn on the screen with nonuniform spacing (so "warped" in that
sense), but it corresponds to uniform actual time.
2018-08-11 15:14:18 -04:00
Pokechu22
72b71bbe08 Use fixed play speed when note tracks are present
Scrubbing doesn't support note tracks, but time tracks do support it.
2018-08-11 18:23:15 +01:00
Paul Licameli
67b679b7d1 Supply missing #includes that Travis build needs 2018-08-11 12:46:27 -04:00
James Crook
ca694a1b22 Bug 1854 - Un-warned export file overwrite danger in 2.2.2 Chains and 2.3.0 MacrosWindow
Now we add a suffix of 001, 002 and so on up to 100.  Then fall back to prompting.
2018-08-11 12:54:24 +01:00
James Crook
3c0ee4d3c1 Change TrackPrefs Pinned/Unpinned display.
The pin and its position can be set directly from the ruler, which is always visible.  Displaying the pin/unpinned state and pin position is probably a bit like displaying the toolbar visibility states and positions in prefs - overload of settings that are easier set another way.  I've hidden them for now.  We should probably come up with a policy as to what prefs should be shown in prefs and what should not.
2018-08-11 11:42:31 +01:00
Paul Licameli
6126f2f626 Make a one-time dynamic check that atomic<double> doesn't use mutexes 2018-08-11 00:29:44 -04:00
Paul Licameli
3f1d9ab8c1 P & R recording: change color of pin button, as for play indicator 2018-08-11 00:26:34 -04:00
Paul Licameli
0d9972b3e0 Some member functions of AudioIO can be const 2018-08-10 22:58:33 -04:00
Paul Licameli
f036700b09 Make PlaybackSchedule::mTime atomic and rename some functions...
... The variable ought to be atomic because it is read and written by different
threads.

Use local variables to avoid repeated reads of the atomic.
2018-08-10 21:30:14 -04:00
Paul Licameli
8a78ae280c Factor out a piece of the big callback 2018-08-10 17:33:18 -04:00
James Crook
ee2d8c11cb Bug 1928 - Export Multiple with a label track present defaults to export by tracks not labels 2018-08-10 19:25:21 +01:00
James Crook
2d28b2e7e1 Bug 1907 - Mac: Some buttons in effects dialogs have non-transparent background
It's not clear why this worked before.
- Mac was not clearing any backgrounds for the button bitmaps.
- There were no pressed buttons defined (on any platform).
2018-08-10 18:39:34 +01:00
James Crook
7f96f85676 Add some Right-To-Left language workarounds.
MixerBoard, LyricsWindow, Screenshot and most effects are now LTR in RTL locales.
Also added a pref so this can be overridden.  As RTL affects window creation, the language choice and this preference may only fully take effect after a restart of Audacity.
2018-08-10 18:39:33 +01:00
Paul Licameli
c95532012a Correctly update hot zones for quick-play cursor at button up 2018-08-10 12:05:25 -04:00
David Bailes
4bf28412db Manage Macros dialog: a couple of focus issues
1. For both the macros list and the steps list, when focus first moves to the list, an item is selected but not the focus.
2. After editing a step, focus is not returned to that step in the list.

Fix for 1: in the calls of SetItemState(), include the wxLIST_STATE_FOCUSED flag.

Fix for 2: The fix for 1 fixed 2. Not sure why.
2018-08-10 16:43:27 +01:00
James Crook
9d396e3315 Bug 1925 - Applying <macroname> to current project window: visual noise, and accessibility.
For accessibility, not showing the activity window is better.
2018-08-10 12:23:30 +01:00
James Crook
154f6d25d9 Bug 1923 - Enh: Help buttons for Export Audio 2018-08-10 09:40:00 +01:00
Paul Licameli
072b711353 Revert cc08cfc, it's unimportant to other work and it made scrub clicky 2018-08-09 19:34:33 -04:00
Steve Daulton
5dab364f15 Add Help button for Advanced Mixing Options 2018-08-09 21:25:29 +01:00
Steve Daulton
217c1267bd Add Help button to Export Multiple dialog 2018-08-09 20:49:44 +01:00
James Crook
3d6f3f1866 Fix our custom NumericText controls are scrambled in RTL layout.
Fix is to force them to be LTR (for now).
2018-08-09 19:01:45 +01:00
James Crook
ddd1494e75 Fix crash from following NULL pointer
GetControlToolBar() can return NULL when closing windows/projects.
2018-08-09 18:29:57 +01:00
Paul Licameli
8c486b50f6 Changes via History affect selection exactly as undo/redo...
... I don't know a good reason why they didn't before.  It was ancient (2010)
behavior.

This also means that RollbackState really will properly rollback the selection
too, even when there are redo items.

This simplifies away an odd special case.
2018-08-09 13:22:07 -04:00
Paul Licameli
af81dfa10b Bug1922: updating play indicator when looping with a time track 2018-08-09 13:18:53 -04:00
Paul Licameli
871bc65c8e Fix loop play again (error introduced at 46d7804) 2018-08-09 11:39:51 -04:00
Paul Licameli
6f7eaf7746 Fewer calls to GetActiveProject() in AudioIO.cpp 2018-08-08 17:30:43 -04:00