Commit Graph

38 Commits

Author SHA1 Message Date
Paul Licameli 3b77af5dfc Remove TranslatableStringArray.h 2020-02-02 18:02:32 -05:00
Paul Licameli 0d910bbe02 EnumSetting has a template parameter 2019-11-27 13:37:24 -05:00
Paul Licameli 9b67e7538f ChoiceSetting contains vectors; simplify constructions of it 2019-11-27 13:37:23 -05:00
Paul Licameli 1649e3669e Rename EnumSetting -> ChoiceSetting, EncodedEnumSetting -> EnumSetting 2019-04-07 16:42:11 -04:00
Paul Licameli dfeb7e18aa Type aliases for some uses of ComponentInterfaceSymbol...
... to be replaced later with distinct types

Also changing FamilyId => Family in function names

Also NumericFormatId => NumericFormatSymbol
2019-03-14 17:26:20 -04:00
James Crook 466e9c179e Create ComponentInterface
It combines the old IdentInterface with the ParamsInterface, providing an identifier and parameters (if needed).
The main purpose of the change is to make the class hierarchy (as viewed via doxygen) much easier to follow.
2018-11-02 17:04:43 +00:00
Paul Licameli bccf8f92cd Redo resampler method choices in Quality preferences 2018-03-25 14:47:58 -04:00
Paul Licameli c6696f1b49 Move definition of _ and related into Internat.h 2018-01-06 21:03:32 -05:00
Paul Licameli b2382eab2a Translation of Quality preference choices 2017-09-10 19:24:41 -04:00
Paul Licameli 1126925438 Remove naked malloc (or similar) and free in: various 2017-03-17 17:52:54 -04:00
Paul Licameli c8e7372886 Rewrite Resample::Process to take and return size_t values 2016-09-06 12:39:58 -04:00
Paul Licameli 38b0bb2a8d Remove Prefs.h from Resample.h 2015-08-31 15:10:10 -04:00
Leland Lucius a03d65ef4d Cleanup lib-src
Removing:

id3lib
libresample
libsamplerate
taglib
2015-04-16 14:41:41 -05:00
benjamin.drung@gmail.com 277932dccb Remove trailing spaces. 2014-06-03 20:30:19 +00:00
v.audacity c7daafede2 In off-list discussion, Steve mentioned that kdevelop / kate highlighting recognizes "FIXME", but not "FIX-ME", which has been the Audacity convention. This commit changes Audacity code to use the "FIXME" convention (though I've never known it as convention and MSVC doesn't recognize it).
Also, minor change in WaveTrack.cpp in the effort on bug 641. Should have no functional difference.
2013-08-24 20:30:47 +00:00
v.audacity 030d2450a8 Go back to simpler architecture for Resample class, now that libsoxr is proven for variable rate resampling. 2013-08-04 01:58:54 +00:00
v.audacity 4bd37d90f7 Fix problems introduced in r12170. 2013-01-18 00:22:01 +00:00
v.audacity fb4ca73376 Make all the destructors set mHandle to NULL. 2013-01-16 02:08:28 +00:00
RichardAsh1981@gmail.com 848eb2dc15 Allow a consistent and coherent choice of sample rate conversion library: any one of the three (or none) to be used, on it's own, no mixtures permitted. 2013-01-13 22:31:43 +00:00
v.audacity 8be4c041f9 Rename libsoxr "Basic Quality" to "Medium Quality". 2013-01-12 00:10:37 +00:00
v.audacity a08d0503be Rearchitect the class hierarchy a little because of a problem Rob Sykes noted to me off-list, where it was using the key and default prefs methods from the base class rather than the descendant, even when those methods were overridden in the descendant.
Also re-ordered and clarified several comments.
2013-01-11 00:13:48 +00:00
v.audacity b57fcea193 Re-order clauses per suggestion from Rob Sykes. 2012-12-21 01:00:15 +00:00
richardash1981 55be06c9e4 commit a large patch by Maarten Baert maarten-baert<at>hotmail<dot>com to fix and improve time track support. Several fix-me issues remain but none are new with this patch. 2012-12-19 21:49:25 +00:00
v.audacity a6a4ab10c1 upgrade to var-rate resampling for libsoxr 2012-12-18 05:50:49 +00:00
v.audacity 1d7f0e15c5 upgrade to var-rate resampling for libsoxr 2012-12-17 06:48:11 +00:00
v.audacity 107cb7d3b4 Rob Sykes says delete this line. 2012-12-01 01:05:29 +00:00
martynshaw99 8b6a9ca3d7 LIBSAMPLERATE needs to update the factor each time. Thanks to Rob Sykes. 2012-11-20 00:16:58 +00:00
v.audacity c889930a0c Make the base class set mMethod, so descendants don't need to duplicate that code. 2012-11-04 19:19:15 +00:00
v.audacity 29768c2489 Make ConstRateResample::ConstRateResample set mMethod, as each descendant class constructor should.
Add some missing calls to base class constructor.
2012-11-04 19:13:22 +00:00
v.audacity 0adda738dc Change libsoxr quality names. 2012-11-04 05:10:02 +00:00
v.audacity ce9bd9fa90 I think this completes the refactoring for const-rate vs var-rate resampling. 2012-11-04 04:44:10 +00:00
v.audacity 88d2c85c15 Fix to build on Linux, and error in destructor. 2012-11-03 22:51:50 +00:00
v.audacity 5460b5c668 This commit is partial effort toward more libsoxr integration, that implements Rob Sykes's latest patch. I have no idea whether the Linux-specific stuff from the patch (e.g., M4 file) is still correct in this.
For Resample.* and QualityPrefs.cpp, this commit has my restructuring for distinguishing constant-rate vs variable-rate resamplers more generally. I think it's complete and ready for const-rate, but I have more review and testing to do for the var-rate cases. 

Variable-rate resampling is not implemented here, so Time Tracks are still broken, but this is a milestone in getting to a more general and correct structure. 

Also I think this fixes AboutDialog issues Steve noticed.
2012-11-03 02:06:07 +00:00
v.audacity 79faef4192 Convert default resampler from libresample to libsoxr. 2012-10-09 02:57:19 +00:00
v.audacity ebb4f530bb Apparently, wxConfigBase::Write() does not update values for next access on all platforms unless Flush() method is called. Added many calls to wxConfigBase::Flush() to make sure the Rad() calls get the right values. 2012-08-02 06:03:19 +00:00
v.audacity 0bd3f11f41 Make "FIXME" comments be "FIX-ME" for consistency with themselves and "ANSWER-ME" comments, in case somebody ever wants to search for these things... ;-) 2011-03-26 01:11:51 +00:00
v.audacity 995c11bcf9 Bug 190 (P3) - Audacity crashes at slow playback speeds when using libsamplerate
Commit Benjamin's latest patch (with slight rewordings so that if SRC_MAX_RATIO changes again, we don't have to rewrite this message. 

Fix looks correct (although partial) to me and USE_LIBSAMPLERATE is off by default anyway.
2011-03-25 21:43:49 +00:00
ra e74978ba77 Locate and position the current Audacity source code, and clear a variety of old junk out of the way into junk-branches 2010-01-23 19:44:49 +00:00