Paul Licameli
2626f6cd5b
Exception safety in: subclasses of ImportFileHandle
2017-03-21 14:11:27 -04:00
Paul Licameli
9314fe0cc0
Remove naked malloc (or similar) and free in: import
2017-03-17 17:52:52 -04:00
Paul Licameli
aa0d55ac83
Use enum class ProgressResult, don't interconvert with int or bool
2017-03-17 17:52:24 -04:00
Paul Licameli
81285ee0c1
More const and override
2017-03-17 17:52:20 -04:00
windinthew
e29a85a89f
add aif* and mp4 extensions
...
This gives a way to import AIFF files containing compressed
audio on Mac without adding FFmpeg or extended import rules.
2016-10-16 19:33:14 +01:00
Paul Licameli
53936ac970
Fix some warnings for unused variables and labels...
...
... But not in cases where a return status is ignored.
2016-09-19 11:47:47 -04:00
Paul Licameli
78be459fa1
Convert sampleCount <-> floating or -> long long explicitly ...
...
... A non-narrowing conversion out to long long is a necessity, but the
conversions to float and double are simply conveniences.
Conversion from floating is explicit, to avoid unintended consequences with
arithmetic operators, when later sampleCount ceases to be an alias for an
integral type.
Some conversions are not made explicit, where I expect to change the type of
the variable later to have mere size_t width.
2016-09-15 21:02:31 -04:00
Paul Licameli
67cec5ad83
Make many counts of tracks and channels unsigned...
...
... And in some places where a library uses signed types, assert that
the reported number is not negative.
What led me to this, is that there are many places where a size_t value for
an allocation is the product of a number of channels and some other number.
2016-09-07 10:11:41 -04:00
Paul Licameli
0b31690ace
Return wide type from ImportFileHandle::GetFileUncompressedBytes()...
...
... and use override. But this function isn't (yet?) used anywhere.
2016-09-06 12:39:57 -04:00
Paul Licameli
d23c20c5d1
Comments where casting to sampleCount from other library typedefs
2016-09-06 12:39:57 -04:00
Paul Licameli
79c79f9cd3
Remove many mentions of sampleCount with auto and decltype...
...
... This makes much code agnostic about how other things (functions and
arguments) are typed.
Many of these neeed to become size_t instead of sampleCount.
2016-08-24 14:50:45 -04:00
Paul Licameli
28f0b11376
Use arrays of smart pointers to import plugins
2016-08-11 11:51:33 -04:00
Paul Licameli
7d89e5ff68
Pass containers by ref to import plugin factories, use STL idiom
2016-08-11 11:51:33 -04:00
Paul Licameli
924df495ff
Make headers in import directory self-contained
2016-08-11 11:51:33 -04:00
Paul Licameli
59af732763
Mac build fixes; and implement deleters for our imitation unique_ptr
2016-04-10 14:15:51 -04:00
Paul Licameli
9c18d3853d
ImportFileHandle::GetStreamInfo returns reference. Don't dereference NULLs.
2016-04-09 16:18:29 -04:00
Paul Licameli
e6e7b73043
ImportFileHandles
2016-04-06 14:56:04 -04:00
Paul Licameli
824ff647f8
Import functions return containers of smart pointers to new tracks
2016-03-26 15:41:27 -04:00
Leland Lucius
32470a4248
Correct Open() definition
2016-03-03 00:04:10 -06: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
Leland Lucius
d1f66d768f
Updates for wx3
...
A long way to go yet, but many OSX issues fixed including
conversion of Audio Unit effects.
2015-06-30 11:25:32 -05:00
Leland Lucius
267692e113
Fix for bug #918
2015-04-24 14:17:06 -05:00
lllucius@gmail.com
d2bfb4ac4b
Updated to build with later compiler versions
...
No functional changes.
(Heck, do we even need this anymore???)
2014-11-14 15:59:47 +00:00
benjamin.drung@gmail.com
277932dccb
Remove trailing spaces.
2014-06-03 20:30:19 +00:00
martynshaw99
4ce2643d5f
Remove the
...
// Indentation settings for Vim and Emacs
etc. lines from all files, as Campbell's patch (except for other changes to Languages.cpp)
2013-09-24 00:14:37 +00:00
RichardAsh1981@gmail.com
2b7863a133
commit the final version of Joel Bouchat's patch for WAV and AIFF format metadata improvements
2013-08-23 10:01:29 +00:00
v.audacity
c26b3c6b49
Campbell Barton's further patch to turn many, many tabs to our 3-space convenbtion
2013-02-23 04:33:20 +00:00
LRN1986
a1b615ffc2
Add GetPluginStringID() for ImportQT
2010-04-06 13:20:41 +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