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

4834 Commits

Author SHA1 Message Date
Paul Licameli
c5a70126eb TrackList always deletes tracks on destruction or when cleared 2016-03-26 15:41:29 -04:00
Paul Licameli
824ff647f8 Import functions return containers of smart pointers to new tracks 2016-03-26 15:41:27 -04:00
Paul Licameli
bc5519a0e2 TrackList::Remove and TrackListIterator::RemoveCurrent always delete the track 2016-03-26 15:41:26 -04:00
Paul Licameli
4edc960acd Redo Effect::ReplaceProcessedTracks without RemoveCurrent 2016-03-26 15:41:25 -04:00
Paul Licameli
81c2cc950f Rewrite the sorting of tracks 2016-03-26 15:41:24 -04:00
Paul Licameli
a6fe2b19d6 TrackList uses std::list. Eliminate TrackListNode and unused ReplaceCurrent(). 2016-03-26 15:41:21 -04:00
Paul Licameli
c4fc7e2bf0 MixAndRender returns unique_ptr results (in a std::pair) 2016-03-26 11:50:14 -04:00
Paul Licameli
3015a9c8d9 Track cut and copy functions return a unique_ptr argument...
... Because they are factory functions.
2016-03-26 11:50:13 -04:00
Paul Licameli
5ef4dd46a5 TrackFactory functions return std::unique_ptr, although some callers...
... release() them for now.
2016-03-26 11:50:12 -04:00
Paul Licameli
f42a953752 Track duplication methods return unique_ptr, although some callers...
... simply release() them for now.
2016-03-26 11:50:10 -04:00
Paul Licameli
5162ab5c5b Use TrackFactory in more places...
... There should now be no direct allocation of Track subclasses with new,
except in those classes' own methods
2016-03-26 11:50:09 -04:00
Paul Licameli
1e641957ca Fix MemoryX.h 2016-03-26 11:50:08 -04:00
Paul Licameli
3c57e1fc0c Do that again without macros... I don't like macros if I can avoid 'em. 2016-03-26 00:06:51 -04:00
Paul Licameli
de75a00c10 Define movable_ptr and make_movable, use __AUDACITY_OLD_STD__ in fewer places 2016-03-25 20:27:25 -04:00
Steve Daulton
85bd752de7 Fix for bug 1364 2016-03-24 15:49:46 +00:00
Steve Daulton
ff6a82ae8c Goodbye to magic number in Contrast.cpp
Also added several TODO and FIXME comments for ongoing fixes.
2016-03-24 13:05:03 +00:00
Steve Daulton
4b070725f1 Fix for bug 512 2016-03-24 13:05:03 +00:00
Steve Daulton
f536354330 Fix by Matěj Fiala for bug 1168
Thanks to Matěj Fiala for this fix.
2016-03-24 10:02:20 +00:00
Paul Licameli
f87433ac53 Bug1084: Restore the fix, while also keeping the crash bug 1242 fixed. 2016-03-22 13:21:36 -04:00
Paul Licameli
6f4c198771 Bug1242: fixed crash using VST plugin Ambience...
... Problem was a mismatch between a chunk retrieved for program only, but
then copied to slave effect as for a bank.  Plug-in choked on the GIGO.

Fix makes chunk for bank both ways.
2016-03-22 12:39:34 -04:00
Gale Andrews
ff2ad783a0 Update year.
Could we automate that?
2016-03-22 02:07:20 +00:00
Steve Daulton
7464f49a66 Fix for bug 513 2016-03-22 00:45:48 +00:00
Steve Daulton
3cab059038 Tweak EQDefaultCurve update path
and add log message to aid testing.
2016-03-21 11:59:41 +00:00
Steve Daulton
437d6047c1 Update credits 2016-03-18 22:33:49 +00:00
Yuri Chornoivan
68e1d3beee Update Ukrainian translation 2016-03-16 19:47:00 +02:00
Paul Licameli
7ed4c050cb Fix unused argument warning 2016-03-15 00:09:36 -04:00
Paul Licameli
911513fefe Fix new TruncateSilence -- be sure to iterate over the correct track list 2016-03-14 11:30:03 -04:00
Paul Licameli
74dc49a9e9 Fix new TruncateSilence -- be sure to iterate over the correct track list 2016-03-14 11:29:34 -04:00
Paul Licameli
c609af3bbe Correct TrackList::Swap -- mind the back-pointers in the tracks. 2016-03-14 11:18:32 -04:00
Paul Licameli
4cf9e0e6d6 Bug1354: Importing MIDI via Import Audio... and list-of-files should undo...
... also fixes a possible memory leak in direct Import MIDI... along the
failure path.
2016-03-14 11:02:09 -04:00
Steve Daulton
919712e3f7 Fix default EffectTypeProcess for Nyquist Prompt
Nyquist Prompt did not default to process type if a previous script
in the current session set a different type.
2016-03-14 09:22:25 +00:00
Steve Daulton
07a2e9a010 Fix for bug 1357 2016-03-13 21:29:48 +00:00
Gale Andrews
311a471286 Less scary message if can't update effect settings 2016-03-09 21:20:54 +00:00
Steve Daulton
7d5e54e364 Fix some assert error in EQ curves
Selected EQ curves in Draw mode should now retain their name
when they are selected.
2016-03-08 21:55:07 +00: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
Paul Licameli
aee12f5755 Define and use copy and move for TrackList, simplifying recording code 2016-03-07 06:43:42 -05:00
Paul Licameli
72705e8f31 Define reset for the array case of unique_ptr 2016-03-07 06:39:07 -05:00
Leland Lucius
9dc9348127 Fixes bug #1344 (mac build)
In addition, the Xcode project can now build against the 10.6
or 10.7 SDKs.  All that is needed is to change the SDK version
and the other settings will change automatically.
2016-03-07 00:29:26 -06:00
Paul Licameli
99eeaf27b6 Don't forget the self-assignment check! 2016-03-06 10:54:26 -05:00
Paul Licameli
eead25872e Simplify append-record code using TrackList copy and move 2016-03-06 10:41:09 -05:00
Paul Licameli
cd8a19f055 Define copy, move, and Swap for TrackList 2016-03-06 10:41:07 -05:00
Paul Licameli
057ec565de Fix #includes 2016-03-04 14:32:24 -05:00
Paul Licameli
3afcde1a70 Try another definition of Maybe for xcode 5.1 2016-03-03 01:26:02 -05:00