1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-04 01:29:43 +02:00

9545 Commits

Author SHA1 Message Date
Paul Licameli
781da7aba4 Differences in some generated config headers for x86_64 lib-src build 2018-11-18 13:17:10 -05:00
Paul Licameli
2f8bdcd289 Add mac/config/x86_64 duplicating the i386 subtree 2018-11-18 13:17:09 -05:00
Paul Licameli
a84bcfaf5b New configurations and schemes for XCode...
... complete and buildable, but still 32 bit builds.  To be modified.
2018-11-18 13:10:01 -05:00
Paul Licameli
407b7fab4a build_wxwidgets now loops over two architectures; change install path...
... to include architecture, so the 64 bit build doesn't destroy the 32, thus
the results are found in:

/usr/local/i386/lib
/usr/local/x86_64/lib

whereas before all was in /usr/local/lib.

Change the XCode project too, to look for includes and libraries in the new
places.
2018-11-18 13:09:03 -05:00
Paul Licameli
fe19c848be Abstract out the architecture in build_wxwidgets script 2018-11-18 12:16:35 -05:00
Paul Licameli
93bf8d1754 Remove mac/scripts/build_wxwidgets2 2018-11-18 12:16:23 -05: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
f4b209e4f7 Eliminate warning building mod-null and mod-script-pipe 2018-11-16 13:20:24 -05:00
Paul Licameli
c33ae66246 0 Mac compile warnings; ignore deprecations; treat warnings as errors 2018-11-16 12:58:58 -05:00
Paul Licameli
5578a0490b MacOS build treats warnings as errors 2018-11-15 11:23:20 -05:00
Paul Licameli
d40d56a0f9 MacOS build: don't warn about deprecated functions...
... This quiets warnings from:

lib-src/FileDialog/mac/FileDialogPrivate.mm
lib-src/portaudio-v19/src/hostapi/coreaudio/pa_mac_core.c
lib-src/portaudio-v19/src/hostapi/coreaudio/pa_mac_core_utilities.c
lib-src/portmixer/src/px_mac_coreaudio.c

It's not good to ignore these deprecations forever, but this reduces the noise
from a complete rebuild, making other warnings more conspicious by their
fewness.
2018-11-15 11:23:20 -05:00
Paul Licameli
8f4da13a7f lib-src changes to fix compiler warnings in Mac build...
... all of them harmless and inconsequential at runtime, but see commit
comments about the error checks in libnyquist that were revealed by the
compiler warnings as never doing anything useful.
2018-11-15 11:23:20 -05:00
Paul Licameli
cd4fa7bdb0 lib-src/libid3tag: remove warnings...
... with casts between char* and unsigned char*
2018-11-15 11:23:19 -05:00
Paul Licameli
73452e96ee lib-src/libsndfile: fix warnings about bit-shifting negative constant 2018-11-15 11:23:19 -05:00
Paul Licameli
449bd38477 lib-src/libsndfile: fix warning about format argument type mismatch 2018-11-15 11:23:19 -05:00
Paul Licameli
90b2e823e4 lib-src/libscorealign: fix warning about vacuous self-assignment 2018-11-15 11:23:19 -05:00
Paul Licameli
a3afdf80d0 lib-src/libnyquist: fix warning about always-false comparison...
... but this raises questions about the intention to catch negative values,
which if they ever happened, were just mis-cast to unsigned at call sites
2018-11-15 11:23:19 -05:00
Paul Licameli
a05812f7ed lib-src/libmad: fix warning...
... comparing enum to int value that means invalid
2018-11-15 11:23:18 -05:00
Paul Licameli
03af971f8e lib-src/portmidi/porttime: fix warning about macro redefinition...
... there is a difference in the type, not the value, of the constant defined
by the two versions of the macro.  See clock_types.h in the Mac SDK:

define NSEC_PER_MSEC   1000000ull      /* nanoseconds per millisecond */
2018-11-15 11:23:18 -05:00
Paul Licameli
548f221890 lib-src/twolame/libtwolame: eliminate warnings...
... cast enum to int before testing for negative value which is not in the
enumeration but signifies "undefined"
2018-11-15 11:23:18 -05:00
Paul Licameli
2fec472ba2 lib-src/libnyquist: eliminate register local variables 2018-11-15 11:23:17 -05:00
Paul Licameli
14bd1cad29 lib-src/libnyquist/nyquist/xlisp: fix duplicate "const" 2018-11-15 11:23:17 -05:00
Paul Licameli
a4f9de784a lib-src/portsmf: extra parens around intentional if/while assignments 2018-11-15 11:23:17 -05:00
Paul Licameli
263fbff02c lib-src/portsmf: string literals as const char *, not char * 2018-11-15 11:23:17 -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
53fcd07b77 A few changes that will be needed for 64 bit Mac compilability 2018-11-15 11:21:39 -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
James Crook
a18680647d Allow Unicode filenames via mod-script-pipe commands 2018-11-11 13:55:14 +00:00
Steve Daulton
d9b5129e64 Fix assert when mixing to new track 2018-11-10 15:04:13 +00:00
SteveDaulton
aceb34d786 Add aud-do-support.lsp to Windows build 2018-11-09 20:23:50 +00:00
Steve Daulton
4ce666e09b Add aud-do-support.lsp to mac build 2018-11-09 20:23:50 +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
9bb235c274 Preparations for scattering TrackArt functions to better places 2018-11-05 09:35:05 -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
Paul Licameli
fe35146464 remove more TrackArtist arguments 2018-11-05 09:12:48 -05:00
Paul Licameli
99106e3ed3 Carry more information in TrackPanelDrawingContext; fewer arguments 2018-11-05 09:12:45 -05:00
Paul Licameli
c866ed4bf7 Reimplement the logic for drawing label track selection background 2018-11-05 07:48:36 -05:00