1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-14 07:37:43 +02:00

6864 Commits

Author SHA1 Message Date
Paul Licameli
36ddd98757 Bug1501: Fix bad_alloc crash for some effects with extreme inputs 2016-08-28 12:30:43 -04:00
James Crook
0f2585a8ee Bug 1253 - Assert when changing track spectrogram settings while audio I/O active
I first of all added a warning message if trying to configure while playing.
Then decided that it is more in keeping with current style to grey out the Spectrogram Settings menu item.

So the new warning message should actually never be reached.
2016-08-28 16:32:41 +01:00
James Crook
d2768c6ab9 Try upping compiler version (the easy way). 2016-08-27 20:24:42 +01:00
James Crook
9e4132301c Merge remote-tracking branch 'upstream/master' into darkaudacity 2016-08-27 15:49:20 +01:00
James Crook
80f61589a2 Fix stray ';'
Was breaking build when FLAC disabled.
2016-08-27 15:21:57 +01:00
Paul Licameli
b53e9ff418 More uses of limitSampleBufferSize 2016-08-27 07:54:32 -04:00
Paul Licameli
3b04bb1726 More uses of limitSampleBufferSize 2016-08-27 07:54:22 -04:00
Paul Licameli
1324d1342a More various small preliminary fixes relating to sampleCount
Comment more cases of bad sampleCount truncation, and even worse...
  Fix progress indicator again: must do a floating-point division...
  A little more type agnosticism
  Remove more unnecessary casts to sampleCount
  Fix more narrowings of sampleCount
2016-08-26 12:43:41 -04:00
Paul Licameli
156e77fcc7 Comment more cases of bad sampleCount truncation, and even worse...
... but whatever the intent was, this class isn't used anywhere.
2016-08-26 12:42:22 -04:00
Paul Licameli
8e42f8a61a Fix progress indicator again: must do a floating-point division...
... or else just get zero!
2016-08-26 12:42:22 -04:00
Paul Licameli
954a914ff7 A little more type agnosticism 2016-08-26 12:42:22 -04:00
Paul Licameli
86b633bab2 Remove more unnecessary casts to sampleCount 2016-08-26 12:42:22 -04:00
Paul Licameli
127b2a6acf Fix more narrowings of sampleCount 2016-08-26 12:42:22 -04:00
Paul Licameli
8102e1717b Merge branch 'master' into HEAD 2016-08-26 12:42:00 -04:00
James Crook
c6cd6228f4 Update Logo
This is the logo with the headphones-as-A and the letters bouncing audaciously.
2016-08-26 15:56:25 +01:00
James Crook
1e0fcbf872 Profiling of spectrogram is opt-in for normal builds. 2016-08-26 12:32:54 +01:00
Darrell Walisser
b2d1470062 OpenMP-ized SpecCache::Populate 2016-08-25 13:44:12 -04:00
James Crook
8f9109ff2e Fix include for wxMemoryDC (for linux build). 2016-08-25 18:26:52 +01:00
James Crook
4f185ae3ac Image/Icon changes for Logo.
I had a microphone logo instead of Audacity headphones, but (a) it did not work so well in small sizes and (b) it lost some of the connection with Audacity, so I re-instated a more Audacity like headphones logo.   The microphone can still be seen on the splash screen of the installer.  I decided not to give the logo a white surround.  The result is that on a dark windows toolbar it can almost disappear into the background, but becomes visible when you hover.
DarkAudacity-2.1.3x
2016-08-25 15:17:54 +01:00
James Crook
df59def07a Merge remote-tracking branch 'upstream/master' into darkaudacity 2016-08-25 14:14:41 +01:00
Robert Antoni Buj Gelonch
c36417c510 Update Catalan translation 2016-08-25 14:09:58 +02:00
James Crook
5d0951c643 Bug 1497 - Time controls not accepting direct typed input
Caused by optimisation of NumericTextCtrl::ValueToControls().  It now only updates on a change, and because mValueStr was being updated without calling value to controls, the string was not being identified as having changed.
2016-08-25 11:33:59 +01:00
Paul Licameli
96fc293c60 Fewer mentions of type sampleCount; more type deduction for variables
* sampleCount:
  Remove unnecessary casts to sampleCount
  Type agnosticism for some other variables that were not sampleCount...
  Remove many mentions of sampleCount with auto and decltype...
  Use sf_count_t not sampleCount
  some uses of size_t
  Use long long for argument passed to wxString::ToLongLong
  More cautions in SBSMSEffect.cpp...
2016-08-24 14:54:58 -04:00
Paul Licameli
52417c444d Remove unnecessary casts to sampleCount 2016-08-24 14:50:46 -04:00
Paul Licameli
fd2b050d6f Type agnosticism for some other variables that were not sampleCount...
... in some cases, this fixes narrowings.
2016-08-24 14:50:45 -04:00
Paul Licameli
79c79f9cd3 Remove many mentions of sampleCount with auto and decltype...
... This makes much code agnostic about how other things (functions and
arguments) are typed.

Many of these neeed to become size_t instead of sampleCount.
2016-08-24 14:50:45 -04:00
Paul Licameli
b8c1d02058 Use sf_count_t not sampleCount 2016-08-24 14:50:45 -04:00
Paul Licameli
ee5a0db9ff some uses of size_t 2016-08-24 14:50:45 -04:00
Paul Licameli
bf66e4410a Use long long for argument passed to wxString::ToLongLong 2016-08-24 14:50:45 -04:00
Paul Licameli
2949a080d2 More cautions in SBSMSEffect.cpp...
... The narrowings from sampleCount to long might be fixed, but it would
require changes in lib-src
2016-08-24 14:50:45 -04:00
Paul Licameli
5ef9b81a94 Merge branch 'master' into HEAD 2016-08-24 14:50:13 -04:00
Paul Licameli
d81358399e Put Paulstretch in the right place in the Xcode project browser 2016-08-24 13:11:46 -04:00
Paul Licameli
b5e410d987 Fix Windows build differently 2016-08-24 12:13:53 -04:00
James Crook
2002e751f7 Quick Help now goes to Video Tutorials (which don't exist yet).
Also emphasise 'Audacity Manual' in the help menu.

With this change I'm being careful to make sure it's clear that the manual is for Audacity rather than for DarkAudacity.  For the time being DarkAudacity is for people who know Audacity already and want to try the dark theme.  Because of that, it is enough to highlight the differences between Audacity and DarkAudacity and link to the existing Audacity manual.  If the differences continue to grow over time wit future editions, then I will need the promised 'Video Tutorials'.  So I link to the page for them now.  That page will have their up to date status information.
2016-08-24 15:58:03 +01:00
James Crook
728583db24 Fix menu bar text "Audacity Manual" 2016-08-23 23:23:41 +01:00
James Crook
9e8c5780b7 Tweaks prior to release.
Turn of Theming page.
Remove Check for Updates.
Make it clearer it is Audacity Manual we are directing people to.
Output Theme is for DarkAudacity.
Grabber hack (to hide number fragments) for DarkAudacity too.
2016-08-23 23:15:19 +01:00
James Crook
a31b134677 Fix enabled/disabled icons swapped for scrub and seek. 2016-08-23 22:41:14 +01:00
James Crook
12e005337c Merge remote-tracking branch 'upstream/master' into darkaudacity
Conflicts fixed by hand:
	src/AllThemeResources.h
2016-08-23 22:30:31 +01:00
James Crook
781de82d02 Workaround build breakers. Needs review.
These changes fix a broken build in Windows.
#include <algorithm> needed for min/max to be in std.
decltype(+name) was declaring a const variable, that could not be incremented.  Changed to auto.
2016-08-23 21:46:12 +01:00
Paul Licameli
b20a9bacad Revert unintended changes in Experimental.h, sorry 2016-08-23 14:27:35 -04:00
Paul Licameli
0d3c00662e Merge commit '1281f1b14b03355f694cd104d6b4d9919de107a6'
* commit '1281f1b14b03355f694cd104d6b4d9919de107a6':
  Common function limits buffer size to sampleCount known to be small
2016-08-23 12:46:37 -04:00
Paul Licameli
1281f1b14b Common function limits buffer size to sampleCount known to be small 2016-08-23 12:46:10 -04:00
James Crook
d88fd4ed1a Innosetup - Fewer files, updated README and InfoBefore.
Download is now 5Mb in size.
2016-08-23 16:06:54 +01:00
James Crook
2ed497bc6c Updated images and icons 2016-08-23 14:45:28 +01:00
Paul Licameli
58b83873a4 Some preliminaries before sweeping the uses of sampleCount
Uniform init in blockfile ctors (prevents implicit narrowings)
  spaces
  change a variable name
  Don't use conversion of sampleCount to bool
  Add explicit cast to sampleCount where negative values are possible
  use std::min and std::max
  an assertion
  LadspaEffect::mSampleRate has type double, like other plug-in effects
2016-08-22 21:46:25 -04:00
Paul Licameli
367ed1dfce Uniform init in blockfile ctors (prevents implicit narrowings) 2016-08-22 21:45:54 -04:00
Paul Licameli
477d8d9d1d spaces 2016-08-22 21:45:54 -04:00
Paul Licameli
26b94a447b change a variable name 2016-08-22 21:45:54 -04:00
Paul Licameli
39df8d0b51 Don't use conversion of sampleCount to bool 2016-08-22 21:45:54 -04:00
Paul Licameli
69064edf20 Add explicit cast to sampleCount where negative values are possible 2016-08-22 21:45:54 -04:00