1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 07:39:42 +02:00

109 Commits

Author SHA1 Message Date
henric
659f8cbc6f Get rid of the Windows compatibility headers stdint.h and inttypes.h.
Microsoft provides their own these days.
2018-06-26 06:53:47 -07:00
James Crook
6220c27613 Do an autoreconf -ivf
This was done on a Ubuntu 14.04 system with wxWidgets 3.1.1 installed.
The resulting buildfiles successfully build Audacity on Ubuntu 14.04 (with 3.1.1) and on Travis (with 3.0.0).
2018-04-02 17:32:17 +01:00
Paul Licameli
6b2a219e26 Changes to make xlisp.h usable in C++ code...
1) #include guard
2) "C" linkage for all function declarations
3) some uses of const
2018-03-01 21:48:41 -05:00
Paul Licameli
5aa70545d5 Use casts with function pointers to quiet compilation warnings in Nyquist 2018-03-01 21:43:32 -05:00
Paul Licameli
e6d069787b Fix mistake in commit a1dc830 and add a comment 2018-02-22 01:10:10 -05:00
Paul Licameli
a1dc8305f0 A function to extend XLisp's table of function bindings dynamically 2018-02-21 17:32:08 -05:00
Steve Daulton
92335ce463 Enable Nyquist audio device selection 2017-06-22 10:24:59 +01:00
Steve Daulton
333c0e3440 Fix for bug 1653 (Nyquist *Table* size limit)
as suggested by RBD in comment #1
2017-06-15 21:46:11 +01:00
James Crook
dd6fb7b91d Updated README.txts 2016-12-31 15:01:43 +00:00
James Crook
016919a53b Bug1223: (correction). Fix new potential crash in following pointer.
With recent changes to the Nyquist code for freeing blocks, the pointer 'next' could be uninitialised when 'list' points to the zero chain.  So Audacity would follow a rogue pointer.  We'd get away with it if the uninitialised value happened to be zero.
2016-06-26 08:35:19 +01:00
Paul Licameli
ba1b63a435 Bug1223 again: redo the fix exactly as Roger Dannenberg wants it 2016-06-22 15:50:20 -04:00
Paul Licameli
8ad9fd257c Bug1223: Avoid stack overflow crash generating long click track 2016-06-21 17:52:30 -04:00
Benjamin Drung
787f2afd10 Introduce end-of-line normalization
Ensures that all files that Git considers to be text will have
normalized (LF) line endings in the repository. When core.eol is set to
native (which is the default), Git will convert the line endings of
normalized files in your working directory back to your platform's
native line ending.

See also https://git-scm.com/docs/gitattributes
2016-05-17 01:05:05 +02:00
Benjamin Drung
8d360fe5f3 Remove unwanted files
There are some files in the repository that match rules in .gitignore
and shouldn't have been committed to the repository. Thus remove them.
2016-05-17 01:05:05 +02:00
Mojca Miklavec
ecc2138c5c comment out extra tokens at end of #endif directive to avoid compiler warnings [-Wextra-tokens] 2016-02-26 15:11:55 +01:00
Julien Nabet
132173badf cppcheck: fix 2 reports
[lib-src/libnyquist/nyquist/nyqsrc/sndwritepa.c:249]: (style) Same expression in both branches of ternary operator
[lib-src/libnyquist/nyquist/nyqsrc/f0.cpp:137]: (error) Mismatching allocation and deallocation: results
2015-11-07 22:47:34 +01:00
Leland Lucius
b1690f1801 Getting all build scripts to the same Automake 1.14 version
This way, building the minsrc tarball doesn't require multiple versions
of Automake to be installed.  (Most things were at the 1.11 version, but
some were at the 1.14 version.)

Building minsrc should now work just fine.
2015-06-21 22:09:44 -07:00
Leland Lucius
303faaa15b Replace convolve with previous version 2015-05-04 12:42:27 -05:00
Leland Lucius
ae7a7e67fb VS2013 includes the log2() function, so prevent Nyquist from defining it. 2015-04-08 11:29:55 -05:00
Leland Lucius
a66184f259 Adding changes that I missed when redoing my branches. 2015-04-08 10:21:17 -05:00
Leland Lucius
16e6d1511e Updates to use new Nyquist v3.09. 2015-04-07 22:11:26 -05:00
Leland Lucius
9fb0ce5b82 Update Nyquist to v3.09. 2015-04-07 22:10:17 -05:00
lllucius@gmail.com
ea074f889b Regenerate build files on Debian Wheezy
This will fix building the minsrc tarball on Debian Wheezy
2015-02-17 16:19:57 +00:00
lllucius@gmail.com
82d9b91184 Prepping for next release...regenerating build files 2015-01-03 05:57:16 +00:00
lllucius
4c0aa60871 A subset of the original v4 patch (which will become v5 eventually)
The main operational difference is that for v4 effect onward, the 
sound name will now be *TRACK*.  This will not affect existing
effects since they use version number 3 or less.

This also provides the Nyquist effect with much more information about
the current processing:

Variable       Property    What
*AUDACITY*     VERSION     current Audacity version number

*SYSTEM-DIR*   BASE        Audacity install path
*SYSTEM-DIR*   DATA        Audacity data path
*SYSTEM-DIR*   HELP        Audacity help path
*SYSTEM-DIR*   TEMP        Audacity temp file path
*SYSTEM-DIR*   PLUGIN      Audacity search path for Nyquist plugins

*PROJECT*      RATE        current project sample rate
*PROJECT*      TRACKS      total number of tracks in the project
*PROJECT*      WAVETRACKS  number of wave tracks in the project
*PROJECT*      LABELTRACKS number of label tracks in the project
*PROJECT*      MIDITRACKS  number of midi tracks in the project
*PROJECT*      TIMETRACKS  number of time tracks in the project

*SELECTION*    START       start time of current selection
*SELECTION*    END         end time of current selection
*SELECTION*    TRACKS      number of tracks in the current selection
*SELECTION*    CHANNELS    number of channels in the current selection
*SELECTION*    LOW-HZ      low frequency from spectrogram (if available, else nil)
*SELECTION*    CENTER-HZ   center frequence (calculated) (if available, else nil)
*SELECTION*    HIGH-HZ     high frequence from spectrogram (if available, else nil)
*SELECTION*    BANDWIDTH   bandwidth in octaves (calculated) (if available, else nil)
*SELECTION*    PEAK-LEVEL  peak amplitude for the current selection

*TRACK*        INDEX       1-based index of track being processed
*TRACK*        NAME        name of track
*TRACK*        TYPE        type of track: wave, midi, label, time
*TRACK*        VIEW        track view: Waveform,  Waveform (dB), etc.
*TRACK*        CHANNELS    number of channels in the track
*TRACK*        START-TIME  start time of track
*TRACK*        END-TIME    end time of track
*TRACK*        GAIN        track gain
*TRACK*        PAN         track pan
*TRACK*        RATE        sample rate of track
*TRACK*        FORMAT      sample format: 16 (int), 24 (int), 32.0 (float)
*TRACK*        CLIPS       list of start/end times for clips for each channel
2014-11-13 16:38:20 +00:00
lllucius@gmail.com
7f8270a5c8 3rd attempt to Add the ability to build without trashing the source tree
Hopefully this take care of all situations.
2014-10-28 06:27:57 +00:00
lllucius@gmail.com
c6ffa89d23 Add (restore?) the ability to build without trashing the source tree
You may now do:

mkdir build
cd build
../configure
./audacity

And all but one directory will remain unmolested...no more object files
in "src".

And if you look carefully, you'll see that the newly built "audacity" is
copied to the top of the build tree...no more having to use "src/audacity"
to run.

You can of course still do the configure from the top and get all of the
objects strewn about the tree.

I still haven't figured out how to keep the locale directory from getting
soiled.  I'm not really sure there's a way around it really.
2014-10-27 07:34:17 +00:00
RichardAsh1981@gmail.com
3e4b1eef98 remove a macro which is not used in the code anywhere, and duplicated from elsewhere 2014-09-30 19:37:01 +00:00
lllucius@gmail.com
e62d3a55c6 Temporary performance fix as discussed via email and:
http://bugzilla.audacityteam.org/show_bug.cgi?id=734

Will be reverted when Roger finishes modifications to
new Nyquist features and they get merged into the
Audacity tree.
2014-07-18 04:15:24 +00:00
benjamin.drung@gmail.com
a361823829 Update generated autotools files for libnyquist. 2014-05-29 13:36:35 +00:00
benjamin.drung@gmail.com
1463d07aea Remove -Wstrict-prototypes build flag from libnyquist.
The build flag -Wstrict-prototypes produces many warnings and we do not want to
modify the upstream nyquist code to just remove compiler warnings.
2014-05-29 13:34:48 +00:00
benjamin.drung@gmail.com
dbffdea8f6 Fix build failure of libnyquist by using static file paths in Makefile.am. 2013-11-14 10:29:31 +00:00
benjamin.drung@gmail.com
7f94f64cc6 Update autotools files for libnyquist. 2013-11-14 01:38:55 +00:00
benjamin.drung@gmail.com
760605b145 Add AM_PROG_CC_C_O check for subdir-objects option. 2013-11-14 01:38:28 +00:00
benjamin.drung@gmail.com
3efb2058ae Use subdir-objects automake option for libnyquist. 2013-11-14 01:35:16 +00:00
benjamin.drung@gmail.com
a8181985a8 Quote autoconf parameters. 2013-11-14 01:34:32 +00:00
benjamin.drung@gmail.com
6efbf53d90 Fix make dist target of libnyquist. 2013-11-08 01:05:56 +00:00
benjamin.drung@gmail.com
e779d81995 Regenerate autotool files of libnyquist with a newer autotool version.
The files are regererated by calling "autoreconf -f -i".
2013-11-01 10:48:08 +00:00
benjamin.drung@gmail.com
55b8334c73 Fix all autotools for libnyquist. 2013-11-01 10:46:00 +00:00
benjamin.drung@gmail.com
e97a17e820 Disable automatic re-run of autotools for libnyquist. 2013-11-01 10:44:50 +00:00
benjamin.drung@gmail.com
15d103d29e Correct project name in autotools files. 2013-11-01 10:41:34 +00:00
v.audacity
6ece977edc Applied patch for http://bugzilla.audacityteam.org/show_bug.cgi?id=520. 2012-06-23 01:38:05 +00:00
richardash1981
b8134fc306 commit it tidied up version of the patch to fix bug 497, with a consistent error message (none of the others include the Error. prefix) and some documentation of what the nyx function returns for future sanity. 2012-06-16 16:58:17 +00:00
v.audacity
c25514cb03 Steve Daulton's patch to fix bug 410 2012-02-14 00:25:35 +00:00
james.k.crook@gmail.com
1f208ea60d from Roger Dannenberg - Workaround for path bug. The correct fix is to remove the duplicated code. 2011-11-30 19:38:38 +00:00
james.k.crook@gmail.com
14bc36ee39 Nyquist fixes for code that exits Audacity without saving audio. 2011-04-23 10:10:48 +00:00
richardash1981
5dc37cb30d fix usage of AM_MAINTAINER_MODE macro, pointed out by Benjamin Drung 2011-02-25 22:05:30 +00:00
rbdannenberg
c389f0348b Previous bug fix to add.c introduced a declaration after statements, rejected by some compilers. This new add.c should compile everywhere. 2010-09-27 17:55:51 +00:00
rbdannenberg
f37b4ab344 Fixed some Nyquist bugs, eliminate some compiler and wipro checker warnings 2010-09-27 05:42:28 +00:00
v.audacity
c159d469d6 Fix another bug reported by Wipro: "...at line 89 in function xlungetc , file xlio.c
'fptr', can take a NULL value. It is being derefed directly or through its aliases at: '(((fptr- >n_info).n_xstream).xs_savech)'"
2010-09-25 22:15:46 +00:00