1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 15:49:41 +02:00

604 Commits

Author SHA1 Message Date
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
Benjamin Drung
c6acf6ff64 libflac: Remove generated documentation
Remove all files that were built by libflac by running

    ./configure && make distclean
2016-05-16 16:47:45 +02:00
Benjamin Drung
43d5979414 Remove Windows executables
This repository should only contain source code and all executables
should be build from source. Thus remove the Windows executables
that were imported from the portmidi library.
2016-05-16 15:49:03 +02:00
Benjamin Drung
8d4ef6054a Fix linking of libsuil
libsuil uses directly symbols of X11 when compiling with GTK2. The build
will fail if compiled with -Wl,--as-needed:

[6/6] cshlib: build/src/x11_in_gtk2.c.3.o -> build/libsuil_x11_in_gtk2.so
src/x11_in_gtk2.c.3.o: In function `forward_key_event':
lib-src/lv2/suil/build/../src/x11_in_gtk2.c:159: undefined reference to `XSendEvent'
src/x11_in_gtk2.c.3.o: In function `x_window_is_valid':
lv2/suil/build/../src/x11_in_gtk2.c:71: undefined reference to `XQueryTree'
src/x11_in_gtk2.c.3.o: In function `forward_size_request':
lib-src/lv2/suil/build/../src/x11_in_gtk2.c:172: undefined reference to `XResizeWindow'
collect2: error: ld returned 1 exit status
Waf: Leaving directory `lib-src/lv2/suil/build'
Build failed

Therefore link against X11 when using GTK2.
2016-05-13 22:14:40 +02:00
Steve Daulton
7d7865c1a6 Update generated autotool files 2016-05-10 18:29:28 +01:00
Gale Andrews
a856d1e3b0 Updated for update to portaudio r1966 2016-03-08 19:37:41 +00:00
Leland Lucius
20c438d841 Remove aclocal.m4 files 2016-03-08 02:24:15 -06:00
Leland Lucius
4c1a1d36a3 Regenerate and reapply SRCDIR build patch 2016-03-08 02:23:28 -06:00
Leland Lucius
69c043eb12 Regenerate and reapply JACK patch 2016-03-08 02:13:35 -06:00
Leland Lucius
6056618220 Regenerate and reapply WASAPI loopback patch 2016-03-08 02:00:05 -06:00
Leland Lucius
2ab02e084e Regenerate and reapply WASAPI fix patch 2016-03-08 01:56:19 -06:00
Leland Lucius
e33dec2e60 Regenerate and reapply portmixer patch 2016-03-08 01:52:46 -06:00
Leland Lucius
126aec1824 Update portaudio to upstream r1966
------------------------------------------------------------------------
r1966 | philburk | 2016-02-15 11:06:54 -0600 (Mon, 15 Feb 2016) | 3 lines

Update docs for building on Linux

------------------------------------------------------------------------
r1965 | philburk | 2016-01-04 11:22:56 -0600 (Mon, 04 Jan 2016) | 6 lines

Files needed for compiling on El Capitan.

These files were autogenerated using autoreconf based
on changes from the previous commit.

------------------------------------------------------------------------
r1964 | philburk | 2016-01-04 11:22:00 -0600 (Mon, 04 Jan 2016) | 9 lines

Add support for 10.11 SDK so PortAudio can compile on Mac.

Also allow deprecated APIs until we can remove them.

Note that this commit only includes the source files that were changed.
The next commit will include the files that are generated by autoreconf.
So look at this commit to see what really changed.

------------------------------------------------------------------------
r1963 | dmitrykos | 2015-10-21 09:25:07 -0500 (Wed, 21 Oct 2015) | 1 line

wasapi: correction to the previous commit
------------------------------------------------------------------------
r1962 | dmitrykos | 2015-10-20 11:02:39 -0500 (Tue, 20 Oct 2015) | 1 line

wasapi: workaround to avoid PaWasapi_Initialize() failure when enumerating devices and device fails to report min/default periods with IAudioClient::GetDevicePeriod(): ignore error and assign WASAPI common known period values for min/default
------------------------------------------------------------------------
r1961 | dmitrykos | 2015-10-19 06:03:31 -0500 (Mon, 19 Oct 2015) | 1 line

wasapi: support for setting the WASAPI's AudioClientProperties options via PaWasapiStreamInfo struct (__IAudioClient2_INTERFACE_DEFINED__ must be defined by Windows SDK (for Windows 8 and up) to have effect from these new options, otherwise it will be noop)
------------------------------------------------------------------------
r1960 | rbencina | 2015-09-06 08:17:05 -0500 (Sun, 06 Sep 2015) | 1 line

update doxygen main page to reference developer guidelines and implementation style guidelines on the Wiki
------------------------------------------------------------------------
r1959 | rbencina | 2015-09-06 07:43:06 -0500 (Sun, 06 Sep 2015) | 1 line

checkfiledocs.py: blacklist mingw-include from doc check
------------------------------------------------------------------------
r1958 | rbencina | 2015-09-06 07:37:38 -0500 (Sun, 06 Sep 2015) | 1 line

checkfiledocs.py: only check source code under src and include
------------------------------------------------------------------------
r1957 | rbencina | 2015-09-06 05:55:01 -0500 (Sun, 06 Sep 2015) | 1 line

Issue #234 fixed typo in configure and configure.in affecting mingw builds. Rename: pa_win_wdmks_util.o --> pa_win_wdmks_utils.o
------------------------------------------------------------------------
r1956 | rbencina | 2015-09-06 05:26:16 -0500 (Sun, 06 Sep 2015) | 1 line

removed bindings/java from doxygen generated documentation
------------------------------------------------------------------------
r1954 | gineera | 2015-04-19 13:48:38 -0500 (Sun, 19 Apr 2015) | 1 line

Pa_process: Fix output channel adaption by not skipping the conversion when the host and user number-of-channels are not equal.  Reported by Leif Asbrink when using an envy24 soundcard on Linux at it's native Int32 format with 1 or 2 channels.  Corresponding fix for input already in r1913.
------------------------------------------------------------------------
r1953 | philburk | 2015-04-09 23:00:09 -0500 (Thu, 09 Apr 2015) | 4 lines

Add Pa_GetVersionInfo()
Add scripts to update pa_svnrevision.h

------------------------------------------------------------------------
r1952 | philburk | 2015-03-12 11:23:11 -0500 (Thu, 12 Mar 2015) | 3 lines

Test adding a second file with SVN keywords.

------------------------------------------------------------------------
r1951 | philburk | 2015-03-12 11:21:04 -0500 (Thu, 12 Mar 2015) | 3 lines

Used propset to enable SVN keywords on test file.

------------------------------------------------------------------------
r1950 | philburk | 2015-03-12 11:16:44 -0500 (Thu, 12 Mar 2015) | 3 lines

Experiment with the SVN version keywords.

------------------------------------------------------------------------
r1949 | philburk | 2015-03-03 11:28:15 -0600 (Tue, 03 Mar 2015) | 4 lines

Add version numbering with major.minor.subminor format.
Bump version to 19.5.0

------------------------------------------------------------------------
r1948 | rbencina | 2015-01-21 00:52:11 -0600 (Wed, 21 Jan 2015) | 1 line

pa/wmme: avoid potential (but highly unlikely) overflow in buffer size in call to WideCharToMultiByte if a device name length exceeds INT_MAX. should also fix compiler warning about size_t to int assignment.
------------------------------------------------------------------------
r1947 | rbencina | 2015-01-21 00:32:29 -0600 (Wed, 21 Jan 2015) | 1 line

removed declaration of unused variable
------------------------------------------------------------------------
r1946 | rbencina | 2015-01-21 00:30:53 -0600 (Wed, 21 Jan 2015) | 1 line

fixed compiler warning: conversion from 'double' to 'float', possible loss of data
------------------------------------------------------------------------
r1945 | rbencina | 2015-01-21 00:24:32 -0600 (Wed, 21 Jan 2015) | 1 line

disabled deprecated API warning for GetVersionEx in dsound, wmme and wdmks host APIs.
------------------------------------------------------------------------
r1944 | rbencina | 2015-01-20 23:35:39 -0600 (Tue, 20 Jan 2015) | 1 line

Removed MSVC dependence on ksguid.lib from src/os/win/pa_win_wdmks_utils.c (ksguid.lib is no longer in Platform SDK 8.0). Always use static instances of GUIDs like the GCC builds do. Removed ksguid.lib from MSVC project file. The following symbols are no longer used: PA_WDMKS_NO_KSGUID_LIB, PAWIN_WDMKS_NO_KSGUID_LIB; removed them from CMakeLists.txt and the MSVC project file.
------------------------------------------------------------------------
r1943 | rbencina | 2015-01-19 23:10:17 -0600 (Mon, 19 Jan 2015) | 1 line

cpp binding: make operator == and != const. thanks to Riot for this patch. ticket #230
------------------------------------------------------------------------
r1934 | rbencina | 2014-11-04 19:03:57 -0600 (Tue, 04 Nov 2014) | 1 line

PA/CoreAudio: fixed copy-pasto: last host error was being associated with paInDevelopment host api not paCoreAudio
------------------------------------------------------------------------
r1933 | robiwan | 2014-08-28 00:59:40 -0500 (Thu, 28 Aug 2014) | 1 line

Added more debugging info in wdmks/pa_win_wdmks.c
------------------------------------------------------------------------
r1932 | robiwan | 2014-08-15 01:35:32 -0500 (Fri, 15 Aug 2014) | 1 line

Committing Lelands patch for WDM-KS, should take care of some of the problems referenced here http://music.columbia.edu/pipermail/portaudio/2014-August/016246.html
------------------------------------------------------------------------
r1930 | bejayoharen | 2014-06-28 11:28:17 -0500 (Sat, 28 Jun 2014) | 1 line

olivier's device name patch for os x
------------------------------------------------------------------------
r1928 | rbencina | 2014-04-11 00:46:40 -0500 (Fri, 11 Apr 2014) | 1 line

pa_win_ds.c converted tabs to spaces (only a small amount of code was incorrectly using tabs).
------------------------------------------------------------------------
r1927 | rbencina | 2014-04-11 00:44:50 -0500 (Fri, 11 Apr 2014) | 1 line

DirectSound: correctly output device names as UTF-8 when compiled with UNICODE defined. Note that this patch may not be correct if UNICODE is not defined. Patch from Tobias Erichsen. See ticket #224 for details.
------------------------------------------------------------------------
r1926 | rbencina | 2014-04-11 00:31:13 -0500 (Fri, 11 Apr 2014) | 1 line

pa_win_wmme.c: converted tabs to spaces (just a few sections)
------------------------------------------------------------------------
r1925 | rbencina | 2014-04-11 00:25:48 -0500 (Fri, 11 Apr 2014) | 1 line

WMME: correctly convert device names to UTF-8, see ticket #224. Thanks to Tobias Erichsen for the patch.
------------------------------------------------------------------------
r1924 | robiwan | 2014-04-09 09:27:21 -0500 (Wed, 09 Apr 2014) | 4 lines

CMake: Added PA_WDMKS_NO_KSGUID_LIB to WDMKS and solution folders
WDMKS: Support for default device (see caveat for input devices though in ScanDeviceInfos)
       Added possibility to set channel mask

------------------------------------------------------------------------
r1920 | bejayoharen | 2014-02-05 12:43:31 -0600 (Wed, 05 Feb 2014) | 1 line

Clarified safety of operations in callback (doc)
------------------------------------------------------------------------
r1919 | rbencina | 2014-01-30 05:46:42 -0600 (Thu, 30 Jan 2014) | 1 line

updated Windows+ASIO build tutorial: Building Portaudio for Windows with ASIO support using MSVC. The tutorial was out of date and contained a number of errors that broke the build process.
------------------------------------------------------------------------
r1918 | rbencina | 2014-01-30 04:12:02 -0600 (Thu, 30 Jan 2014) | 1 line

tweaked Windows build tutorial: Building PortAudio for Windows using Microsoft Visual Studio - various improvements to clarity of text. Fixed broken ASIO SDK URL.
------------------------------------------------------------------------
r1916 | philburk | 2014-01-16 21:45:15 -0600 (Thu, 16 Jan 2014) | 6 lines

Add stub to pa_trace.c to eliminate warning.

"make install" was causing a warning if PA_TRACE_REALTIME_EVENTS
was not defined.

------------------------------------------------------------------------
r1915 | philburk | 2014-01-16 11:51:26 -0600 (Thu, 16 Jan 2014) | 5 lines

[tests] Add EOL to patest_mono.c

Build was failing on Mac because of the missing end-of-line.

------------------------------------------------------------------------
r1914 | philburk | 2014-01-16 11:49:33 -0600 (Thu, 16 Jan 2014) | 6 lines

[macosx] Add support for SDK 10.8 and 10.9.

This was required to fix a broken build caused
by not having SDK 10.7 or earlier.

------------------------------------------------------------------------
r1913 | gineera | 2013-11-18 05:42:27 -0600 (Mon, 18 Nov 2013) | 1 line

Pa_process: Fix input channel adaption by not skipping the input conversion when the host and user number-of-channels are not equal.  The bug manifested when recording mono from a stereo-only device (eg with Alsa hw: devices on some sound-cards), and was reported by the Mixxx team -see https://bugs.launchpad.net/mixxx/+bug/900364.  (In the long-term, some refactoring may be preferable.)  Also fixed copy-paste typos in comments.
------------------------------------------------------------------------
r1912 | gineera | 2013-11-15 06:27:07 -0600 (Fri, 15 Nov 2013) | 1 line

Jack: Add a port-type filter expression to calls to jack_get_ports() so that only audio ports are listed (removing eg Midi etc) as reported by 'sqweek'.
------------------------------------------------------------------------
r1911 | gineera | 2013-10-17 07:44:09 -0500 (Thu, 17 Oct 2013) | 1 line

Alsa: Revise the use of the environment variable 'PA_ALSA_PLUGHW' so it correctly influences the Device-List and the capabilities reported.  Also rename a mis-leading variable and add one additional DEBUG line.
2016-03-08 00:52:13 -06: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
Paul Licameli
7824e94030 Harmlessly qualify classes as final (or explicitly comment not)...
... Should have no effect on generated code, except perhaps some slight faster
virtual function calls.  Mostly useful as documentation of design intent.

Tried to mark every one of our classes that inherits from another, or is a
base for others, or has abstract virtual functions, and a few others besides.
2016-02-24 20:58:30 -05:00
Thomas Fehér
be15ddee88 fix linking on linux
This was only working because g++ can be used to link C++ and
Objective-C object files. As soon as CXX is set to a different compiler
this failed on linux, trying to link objects compiled with a different
compiler.
2016-02-13 10:01:11 -05:00
Steve Daulton
6b9a63d4c8 Update generated autotool files by running autoreconf 2016-01-26 18:32:29 +00:00
Steve Daulton
954bb0fd1c Fix for bug 955 from Clayton Otey 2016-01-26 18:19:19 +00:00
Steve Daulton
3062488cec Update Makefile.in files with automake 2016-01-23 18:45:39 +00:00
James Crook
36d0359070 Merge pull request #86 from serval2412/master
cppcheck: fix 2 reports (nyquist)
2016-01-22 18:05:15 +00:00
Paul Licameli
85026f9895 Add some defensive code in libmad to fix crash opening a corrupt .mp2 2015-12-20 19:50:27 -05: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
a7a1e11668 Fix for bug #1182 2015-09-08 11:19:37 -05:00
Leland Lucius
a105ee4a6d Fix hang during termination 2015-09-04 02:31:14 -05:00
Leland Lucius
0235c80859 Fix for bug #936 part 2
Keeping this one separate in case we need to back it out.
2015-09-02 02:24:15 -05:00
Leland Lucius
63cc27ff64 Fix for bug #1171 2015-09-02 01:42:22 -05:00
Leland Lucius
1771cd15fb Fix an assertion in Nyquist Workbench 2015-08-27 09:41:48 -05:00
Leland Lucius
d635ff36c4 Restore focus if another modal dialog is opened on top of FileDialog
An example of this would be the FFmpeg custom options dialog.  When
the options dialog would close, focus would be lost and with no
apparent way to get it back when using the keyboard.

This change tracks the modal dialogs that are opened after the
current file dialog and that are descendants of the current file
dialog.  Once all of the descendants are closed, the current file
dialog will restore the focus and make sure it is the topmost
window.

This only affected Windows.
2015-08-26 20:38:05 -05:00
Leland Lucius
c844f6f214 Merge remote-tracking branch 'upstream/master' 2015-08-25 21:23:10 -05:00
Leland Lucius
5bc61e5d0b Fix option truncation and possible crash 2015-08-25 21:19:53 -05:00
Leland Lucius
17adbda240 Fix Release build for mod-track-panel 2015-08-25 16:09:11 -05:00
Leland Lucius
b1a3d2313b A better solution for setting open/save dialog minimum size
This one actually works on Windows 7 too.  :-)
2015-08-25 00:57:27 -05:00
Leland Lucius
75ee0becd1 Allow the user to make the FileDialog smaller after enlarging it.
See http://bugzilla.audacityteam.org/show_bug.cgi?id=1110#c6 for
a bit more info.
2015-08-24 23:46:04 -05:00
Leland Lucius
90e6f3011e Fix build of Nyquist Workbench 2015-08-24 00:06:58 -05:00
Leland Lucius
141c42bbdb Protect against not having an initial file type selected 2015-08-16 03:13:55 -05:00
Leland Lucius
1bf561819e Always show the filter list to be consistent with the other 2 plats.
(This also fixes an array indexing problem.)
2015-08-14 16:01:04 -05:00
Leland Lucius
8d236b88ae Fix bug #1110 2015-08-09 23:28:13 -05:00
Leland Lucius
534741de78 Fix crash when displaying file dialog on Windows 2015-08-07 16:42:39 -05:00
Leland Lucius
a9b6d2382c Use wxDEBUG_LEVEL instead of WXDEBUG_LEVEL...DOH!!! 2015-07-31 02:27:12 -05:00
Leland Lucius
e869099643 Add WXDEBUG_LEVEL=0 to non-debug builds 2015-07-29 14:44:51 -05:00
Leland Lucius
709c9e9153 Send an initial filter changed event under OSX 2015-07-29 02:07:37 -05:00
Leland Lucius
573365765a Send an initial filter changed event under GTK 2015-07-29 01:59:42 -05:00
Leland Lucius
45dc52644d Make sure the search string is unique 2015-07-28 18:27:14 -05:00
Leland Lucius
3e709dd98c Update modules for wx3 2015-07-19 15:37:04 -05:00
Leland Lucius
39064c42d5 FileDialog shouldn't return duplicate names. 2015-07-18 21:26:11 -05:00
Leland Lucius
ed419f1917 Round 10 of wx3 changes
configure script now auto detects whether wxWidgets was built using
gtk2 or gtk3, so there's no longer a need to specify which one when
running configure.

VST support updated for wx3 under GTK.
2015-07-18 01:22:05 -05:00
Leland Lucius
805f0e29d1 Round 7 of wx3 changes
I believe the FileDialog is now complete and consistent across
all 3 platforms.
2015-07-16 01:12:09 -05:00