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

5580 Commits

Author SHA1 Message Date
Paul Licameli
cfd7648fce Remove some naked new amd delete in: Project 2016-08-08 07:40:15 -04:00
Paul Licameli
60260520dc Remove some naked new amd delete in: TrackPanel 2016-08-08 07:38:30 -04:00
Paul Licameli
3b6dcfcc32 Remove some naked new amd delete in: TrackPanel::mAx 2016-08-08 07:38:30 -04:00
Paul Licameli
20bee00115 Remove some naked new amd delete in: tracks and clips 2016-08-08 07:30:44 -04:00
Paul Licameli
8392a57d34 Fix crash bug on on-demand ffmpeg decoding (an experimental) 2016-08-06 09:56:20 -04:00
Gale Andrews
b27504e98a Consistent name of Scrub Toolbar, add i18n hint 2016-08-04 04:50:07 +01:00
Steve Daulton
fd2c65d5d2 Set Compressor effect ratio slider page size to 5
to provide more appropriate PgUp/PgDn for new 'Ratio' range.
2016-08-03 00:40:21 +01:00
Steve Daulton
c21bbb17f2 Merge pull request #154 from rickst29/master
Compressor.cpp: Allow higher-precision 'Ratio'
2016-08-03 00:32:53 +01:00
Steve Daulton
976a5eb5ec Fix bug 1466
Display just the button name in tooltip when no shortcut.
2016-08-03 00:28:00 +01:00
rickst29
38c8ef3ae1 Merge pull request #1 from rickst29/rickst29-audacity-patch-1
Compressor.cpp: Allow higher-precision 'Ratio'
2016-08-01 09:44:15 -07:00
rickst29
f8a439f389 Compressor.cpp: Allow higher-precision 'Ratio'
This enhancement allows the User to set 'Ratio' to a between 1.1 and 10, with 0.1 precision.
Formerly, the minimum was 1.5, and the smallest increment was 0.5.
2016-08-01 09:42:20 -07:00
David Bailes
0569572d1b Fix for bug 1464: In label editor, displayed track names wrong after remove
In LabelDialog::OnRemove, displayed name of track was incorrectly being removed
when a label (and not any track) was being removed.
2016-08-01 12:11:40 +01:00
Paul Licameli
5c0b1831ce Basic Voiceover interaction on Mac, REQUIRES wxWIDGETS REBUILD...
... many details will need further work, but basic navigation among
pushbuttons with control-alt-arrows and presses with control-alt-space will
work.

Shift-ctrl-alt-down on track panel works to navigate among individual tracks,
and shift-ctrl-alt-up to escape back to the higher level.
2016-07-31 21:15:12 -04:00
Paul Licameli
c637b09631 Make new patch work with -p0 2016-07-31 21:14:06 -04:00
Paul Licameli
e0f1e9a5ff Redo previous, not breaking Mac build if wxWidgets is not rebuilt 2016-07-31 14:53:05 -04:00
Paul Licameli
c8e570797f Bug1338 fixed again, with fewer Mac busy-waits; CHANGES WX BUILD...
... Busy-waiting will happen on Mac when modal dialogs are open, and a LADSPA,
VST, or AudioUnits effect is also open with "fancy" interface.

Busy-waiting will not happen for modal dialogs at other times.
2016-07-31 12:46:03 -04:00
Gale Andrews
e05d8aedd5 Corrected missing closing period 2016-07-27 18:21:59 +01:00
windinthew
e24d6d825f Bug 858: Update recording error message too
Also remove redundant 'while' in the messages
2016-07-27 16:48:30 +01:00
Steve Daulton
8f016b0c1c Increase latency in Distortion effect
to reduce skipping, which has been reported with some
settings on Windows.
2016-07-25 13:18:52 +01:00
Steve Daulton
6629733d35 Bug 858 - Update error message
Trying Gale's suggestion from
http://bugzilla.audacityteam.org/show_bug.cgi?id=858#c2
2016-07-24 16:35:17 +01:00
Steve Daulton
ab135ff478 Disallow enabling RT preview when setting invalid 2016-07-24 15:41:15 +01:00
Gale Andrews
5d15eba6c9 Bug 1420 Tooltip consistency fixes.
Not sufficient to close the bug.
2016-07-23 18:06:45 +01:00
James Crook
85e744b140 Merge pull request #148 from RaphaelMarinier/optimize_audacity_idle_loops_no_autoreconf
Reduced CPU usage of Audacity when idle.
2016-07-21 23:03:00 +01:00
Raphaël Marinier
173652875d Reduced CPU usage of Audacity when idle.
Before this change, an idle Audacity on a recent Linux laptop uses 6%
of CPU. This is because DrawOverlays() is called every 50ms through a
timer in TrackPanel, which instanciates a wxClientDC. This is quite
expensive and dominates the profiles: creating wxClientDCs is 84% of
the CPU audacity spends while idle, according to callgrind. With this
change, we avoid creating wxClientDCs when it's not necessary.

After this change, and idle Audacity consumes 1.6% of CPU, and most of
the time is spend in gtk/wxwidgets processing events.

Here are the perf stats of an idle Audacity before the change:

        524.425485      task-clock (msec)         #    0.060 CPUs utilized
               825      context-switches          #    0.002 M/sec
                36      cpu-migrations            #    0.069 K/sec
                 0      page-faults               #    0.000 K/sec
     1,198,433,346      cycles                    #    2.285 GHz
     1,243,329,771      instructions              #    1.04  insn per cycle
       308,073,049      branches                  #  587.449 M/sec
         5,801,494      branch-misses             #    1.88% of all branches

       8.808129958 seconds time elapsed

and after:

        149.110455      task-clock (msec)         #    0.016 CPUs utilized
               908      context-switches          #    0.006 M/sec
                32      cpu-migrations            #    0.215 K/sec
                 0      page-faults               #    0.000 K/sec
       313,372,582      cycles                    #    2.102 GHz
       167,401,770      instructions              #    0.53  insn per cycle
        41,857,947      branches                  #  280.718 M/sec
         1,189,566      branch-misses             #    2.84% of all branches

       9.076940003 seconds time elapsed
2016-07-21 23:07:33 +02:00
Gale Andrews
cf2625a7bd Merge pull request #146 from tip2tail/AudacityCapitalLetter
Tip2tail fix capitalisation of "Audacity"
2016-07-18 13:33:58 +01:00
Steve Daulton
5412eab040 Distortion presets for remainder of 'Types' 2016-07-18 12:06:42 +01:00
Steve Daulton
d655ea1c81 Fix bug 1449
Reduce height of Device ToolBar required by Gnome.
2016-07-17 22:23:16 +01:00
Mark Young
bea6553ee4 Fixed capitalisation of "Audacity" in TimerRecord 2016-07-17 21:34:08 +01:00
James Crook
d092fe0e4b Review and fix CaptureMouse (per Bug 1204 commit comment)
This is using the same idiom of only capturing if not capturing already.  These cases in AutoDuck, Resizing, Grabber and TQP might have been latent ASSERTs.  This based on precedent rather than actual elicited buggy behaviour.
2016-07-17 09:38:23 +01:00
windinthew
e24673fb89 Add missing access key 2016-07-16 15:46:37 +01:00
James Crook
53843c72a2 Use Steve's Pinned/Unpinned button images.
I've also added in the red versions (for recording) into the built in theme.
2016-07-15 17:17:09 +01:00
James Crook
7c7fc55bc2 Bug 1440 - Cancelling Export Multiple by labels containing illegal characters exports the cancelled file with empty name.
Also made ExportMultipleByTrack more like ExportMultipleByLabel in that it continues on exporting tracks even if one track has a bad name.
2016-07-15 16:20:25 +01:00
James Crook
68285298ed Bug 1175 - Stereo tracks may have different zoom per channel 2016-07-15 13:06:45 +01:00
James Crook
c3ef4d1571 Bug 1389 - Metadata Editor: First character entered in Genre field is not displayed. 2016-07-15 12:15:29 +01:00
James Crook
308ccb9eab Bug 1420 - Tooltip for Scrub Bar is inaccurate/misleading 2016-07-15 11:14:41 +01:00
James Crook
e056c23879 Bug 1234 - Enh: Name of Mixer Toolbar options/preferences 2016-07-15 10:18:19 +01:00
James Crook
1a478104e6 Revert 'pin/unpinned' button image. 2016-07-14 10:16:13 +01:00
James Crook
a487d14999 Change Pinned/Unpinned button image. 2016-07-13 19:39:46 +01:00
Paul Licameli
35514b7a3e Bug1442 again: Fix TAB cycle through labels, special case... 2016-07-13 14:18:27 -04:00
Paul Licameli
9b7e66b30f Bug1442 again: Fix TAB cycle through labels, special case...
... of a point label exactly at zero, with or without other labels.
2016-07-13 14:17:14 -04:00
Paul Licameli
2e156f64d5 Merge branch 'master' into temp 2016-07-13 14:17:03 -04:00
James Crook
163063f516 Merge pull request #143 from RaphaelMarinier/remove-old-fft2
Code cleanup: removed the old real FFT code not used for a long time
2016-07-13 18:32:42 +01:00
Paul Licameli
3ef49c2c89 Bug1349 again: Fix export and import of no-name labels 2016-07-12 22:17:30 -04:00
Paul Licameli
f1799521aa Bug1349 again: Fix export and import of no-name labels 2016-07-12 22:16:15 -04:00
Paul Licameli
9aff1ff6c6 Merge branch 'master' into temp
* master:
  Enh1444 and Bug1435 fixed by CHANGED MAC BUILD PROCEURE...
  Restore correct resizing of the time ruler for the scrub bar button
  Bug1443 again: Mac label shift-click should differ, per David Bailes
  More access key fixes. Better Pinned tooltip.
  Bug1443: Various odd behavior of label text editor, fixed...
  Further fix for Windows build
  fix Windows build
  Correctly load parameters for Change Pitch effect
2016-07-12 22:15:55 -04:00
Paul Licameli
b6b9840d06 Enh1444 and Bug1435 fixed by CHANGED MAC BUILD PROCEURE...
Enh1444 is to make pinch and spread gestures work.

Bug1435 is to bring focus rings back for types of controls that lost them in
version 2.1.2.  This importantly includes pushbuttons and choice controls
(drop-down menus).  Less importantly, date picker (as in the Timer Record
dialog) and Listbox (as in the dialog to choose label font).

There is one more type of control that lost focus rings, and is not fixed:
List controls (distinct from list boxes), such as in the Manage Curves dialog
that opens from Equalization.
2016-07-12 20:31:55 -04:00
Paul Licameli
d91f825424 Restore correct resizing of the time ruler for the scrub bar button
This was broken at ae14cb0dbccf9587b7a13f5ddc49c2b27acfec1e
2016-07-12 15:26:40 -04:00
Steve Daulton
b3c7f37aba Merge pull request #141 from WaveMotion/changepitchparam
Correctly load parameters for Change Pitch effect
2016-07-12 19:51:08 +01:00
Paul Licameli
26676652d7 Bug1443 again: Mac label shift-click should differ, per David Bailes 2016-07-12 12:13:08 -04:00
windinthew
e97568db1b More access key fixes. Better Pinned tooltip. 2016-07-12 15:05:48 +01:00