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

5747 Commits

Author SHA1 Message Date
Paul Licameli
57afa1399e Remove some naked new amd delete in: commands 2016-08-08 07:53:29 -04:00
Paul Licameli
c3e53ea26e Remove some naked new amd delete in: overrides of CommandType::BuildSignature 2016-08-08 07:53:29 -04:00
Paul Licameli
473e955da3 Remove some naked new amd delete in: ondemand 2016-08-08 07:53:28 -04:00
Paul Licameli
f82ff73578 Remove some naked new amd delete in: import and export 2016-08-08 07:53:28 -04:00
Paul Licameli
b47bcb548e Remove some naked new amd delete in: AudioIO 2016-08-08 07:51:27 -04:00
Paul Licameli
27527ebf5c One less indirection for arrays of capture and playback tracks 2016-08-08 07:51:26 -04:00
Paul Licameli
71efb13161 Remove some naked new amd delete in: widgets 2016-08-08 07:51:26 -04:00
Paul Licameli
0bb17c174e Do CFRelease only inside destructors, in AudioUnitEffects.cpp ...
... may fix a memory leak in AudioUnitEffect::SupportsAutomation
2016-08-08 07:51:26 -04:00
Paul Licameli
eb6ba1ed7a Remove some naked new amd delete in: Plug-in effects 2016-08-08 07:51:26 -04:00
Paul Licameli
6fec00149b Remove some naked new amd delete in: Built-in Effects 2016-08-08 07:51:25 -04:00
Paul Licameli
52d12c6913 Remove some naked new amd delete in: toolbars 2016-08-08 07:51:25 -04:00
Paul Licameli
23516a7732 Remove some naked new amd delete in: Mixer Board 2016-08-08 07:51:24 -04:00
Paul Licameli
fd2e36e0c8 Remove some naked new amd delete in: FFmpeg 2016-08-08 07:51:24 -04:00
Paul Licameli
942c62b6f6 Remove some naked new amd delete in: various 2016-08-08 07:51:24 -04:00
Paul Licameli
186679b3a6 RAII for locking the all-projects mutex 2016-08-08 07:40:16 -04:00
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
Raphaël Marinier
6a313a35bf Optimize the refresh of the selection bar while Audacity is playing.
This saves 3-4% CPU while Audacity is playing on Linux/64bits. This is
done by avoiding the update of NumerixTextCtrls that stay unchanged.
2016-07-28 00:12:32 +02: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