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

428 Commits

Author SHA1 Message Date
Paul Licameli
38fd97b8e2 Fix "C" linkage of PaUtil_GetTime (TOUCHES lib-src !) 2017-07-15 13:32:42 -04:00
Pokechu22
f50b301694 Regenerate configure scripts and Makefile.in's 2017-07-04 07:50:16 -04:00
Pokechu22
0c00435f08 Attempt to add the rest of the makefile for portmidi
Also, fix a broken(?) include in px_linux_alsa.c.  I don't know if it was actually broken, but it seems like that was wrong.
2017-07-04 07:50:15 -04:00
Pokechu22
1610da4bb3 Re-add automake files for portmidi
These were created by rbdannenberg, in commit
932ca88255a322bff833e3eb4e3931a971aa97d4, but were accidently deleted
later in commit bb63fa0d07dad9a9f02b75eda455576e6e8b4da4 (which updated
portmidi).  I can't say whether they work or not, and even when they were
introduced it was stated that they may be wrong.  But it's better than not
having any automake files at all, and will at least provide a base for
them.

I didn't add some of the sourcefile changes from the first commit (some
were already added to portmidi, and others weren't).  Some of them may be
needed to get building to work (or, we could update portmidi, if there are
any changes upstream).  I also didn't add any of the libscorealign changes
other than one, since libscorealign already had makefiles (other than the
uninstalled one).

These configure scripts may be really old; regenerating them is probably a
good idea.
2017-07-04 07:50:15 -04:00
Paul Licameli
f6d92ece82 Revert "Update from expat 2.1.0 to version 2.2.1..."
This reverts commit 2b146bf5437b94f2b5493afa8fadfe821adf292b, reversing
changes made to 138c188fb463b475ae5c243e2bc798b9450e6237.
2017-06-29 11:27:12 -04:00
Paul Licameli
b8007778f0 Other new files from expat github, probably not needed 2017-06-28 21:16:42 -04:00
Paul Licameli
941ad55140 Update expat sources 2017-06-28 21:16:42 -04: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
Steve Daulton
516570074b Add preference option for Stem Plot
Tracks 'behaviors' preferences split to sub-page to avoid over-long
page for Tracks preferences.
2017-04-27 15:16:05 +01:00
James Crook
439edae203 Update source files.
Used autoreconf --no-recursive --install to do this.
2017-03-18 20:13:39 +00:00
Paul Licameli
5036583549 Fewer inclusions of AudacityApp.h 2017-03-17 17:52:24 -04:00
Darrell Walisser
0a0a9f615c Bug 1528 - Linux: Mod-script-pipe can't be built 2017-02-24 22:54:57 +00:00
James Crook
dd6fb7b91d Updated README.txts 2016-12-31 15:01:43 +00:00
Steve Daulton
6f3aad2fe0 Update for Sample Data Import
Makefile updated for Linux build
2016-11-23 17:49:53 +00:00
yam
967275528b Get Nyquist Workbench building again 2016-10-02 19:20:31 -05:00
Leland Lucius
f4d38476a6 Actually commit the mod-null changes this time! 2016-10-01 20:23:09 -05:00
Leland Lucius
01eb4745a6 Get mod-null building again 2016-10-01 16:47:11 -05:00
Leland Lucius
2ab0c13101 Fix build of Nyquist Workbench 2016-10-01 14:05:53 -05:00
Richard Ash
ad72c112a4 Update references to sourceforge.net
Replace references to audacity.sourceforge.net with the new
audacity web site, and also bug report emails in configure scripts
and readme files.
2016-09-21 10:03:25 +01:00
James Crook
18eb2bbc7a Bug 193 - Audacity can't record at > 16-bit under MME or Windows DirectSound
Fix by Uwe and Carsten of DirectSound issue (only).  We can't interrogate for formats, so we use userData to tell PortAudio what the format should be.  I have a 16 bit built in sound device and that continues to function correctly at 16 bit with 24 bit requested.  Unable to test on a 24 bit device.
2016-07-05 11:56:04 +01:00
Paul Licameli
9036c00152 Bug1300, improved: don't truncate the pasted string 2016-06-29 13:42:37 -04:00
Paul Licameli
bbd369df1b Bug1300: make Ctrl+V work in text field of Save dialog, but...
It's a bit crude.  It always pastes the entire text field, ignoring the
insertion cursor, and ignoring which control really has the focus.

The file dialog, which can call up the Finder, is implemented in the AppKit
so it's not wholly under our control.  But I could bolt on an event filter,
after the fashion of CommandManager, to intercept key events.

Perhaps later versions of the toolkit than 10.6 will have a better save dialog
in the AppKit, making this change unnecessary.
2016-06-29 12:13:01 -04: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
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