ed
0fc1ede50f
Used MemoryBlock::isEmpty() in a few places
4 years ago
reuk
5d26b6a20f
Aiff: Fix extremely slow loads of pathological files
If an aiff file advertied a large number of metadata keys, the
StringPairArray::set calls resulted in quadratic complexity.
We now read keys into a std::map instead, as it enables much faster
lookup, and then convert back to a StringPairArray at the last possible
moment.
4 years ago
ed
009d685179
Updated all license headers
4 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
5 years ago
ed
4a5dda489f
Fixed some warnings with -Wconversion enabled
5 years ago
reuk
5af01b9b16
Demos: Convey proper ownership semantics
5 years ago
ed
59a058fdc6
Fixed some warnings flagged up when enabling -Wswitch-enum, -Wswitch-default, -Wredundant-decls, and -Wimplicit-fallthrough
5 years ago
ed
cb7e325d51
Fixed some variable shadowing warnings
6 years ago
Tom Poole
16dd26649a
Fixed some GCC compiler warnings and removed deprecated functions
6 years ago
jules
cdb55f70c2
Changes to avoid some clang warnings
6 years ago
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
7 years ago
jules
934d5aee22
Fixed the typo that I introduced while fixing a different typo
7 years ago
jules
a156d12390
Fixed a typo in AiffAudioFormat
7 years ago
jules
c2a2d5c734
Updated some code to use cleaner array initialisation from constant data
7 years ago
jules
6344cd549a
Some tidying up in the audio codec classes
7 years ago
jules
eda613c6db
Moved all "namespace juce" declarations from module headers to the individual .h and .cpp source files. This makes life a lot easier for Intellisense and other IDE autocompletion tools
7 years ago
jules
57120b39c0
Tweaked some whitespace to avoid false-alarm warnings in GCC
8 years ago
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
hogliux
6559b3e185
Fixed multiple harmless warnings in Android builds
8 years ago
ed
e75128a878
Added a second createMemoryMappedReader method to AudioFormat and its derived classes that creates a MemoryMappedAudioFormatReader from a FileInputStream
8 years ago
jules
a0795e8dc0
Avoided an overflow in some extreme edge-case uses of WAVAudioFormat
9 years ago
jules
3b881401f1
Added some null pointer checks to createWriterFor methods
9 years ago
jules
4583fa3fbf
Used the ignoreUnused() function to tidy up some old code
9 years ago
jules
02492b36b9
Lots of small whitespace tweaks.
9 years ago
jules
b0ca1c40ca
Whitespace tidying
9 years ago
jules
663eca60ad
In AIFF and WAV memory-mapped readers, avoided assertions when getting max levels beyond the ends of the file
9 years ago
jules
1d6e77a4d8
Fix for a possible array overflow in the AIFF reader
9 years ago
jules
614a77fc0d
Spelling fix
9 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago
hogliux
2860f66953
Fix alignment edge cases of cue points in AIFF files
10 years ago
jules
1cd521e157
Avoided some compiler warnings.
10 years ago
jules
cff4689c66
Added a method MemoryMappedAudioFormatReader::getSample(). Also refactored some old AudioFormatReader::readMaxLevels implementations.
10 years ago
jules
7704d5ad79
Improvements to parsing AIFF CATE chunks.
10 years ago
jules
7c61188bf9
Cleaned up a few places where four-char constants were used, to prevent warnings.
10 years ago
jules
91d9c96338
Minor clean-ups
11 years ago
jules
2edec00b55
Removed a few more uses of String::empty.
11 years ago
jules
b05c8413cf
Tidied up some docs and added an AudioFormat constructor.
11 years ago
jules
b093f47a8c
Misc minor cleanups and comment fixes.
11 years ago
jules
2786eadaf9
Removed a few pedantic warnings.
11 years ago
jules
ebc0b2b727
Removed some warning settings that weren't supported by older GCCs. Also added workarounds for some spurious GCC warnings.
11 years ago
jules
4ce1908f79
Misc tidying-up.
12 years ago
jules
3891145af4
AiffAudioFormat: support for reading CATE block metadata.
12 years ago
jules
03c2801f3f
Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3
12 years ago
jules
1981404103
Added some tempo metadata extractions methods for CoreAudioFormat and AiffAudioFormat
12 years ago
jules
fdfdc2bbbf
Aiff float support.
12 years ago
jules
bfd9350bed
Changed some types from int to size_t where appropriate. Fixed a CoreMidi build problem in 64-bit mode.
12 years ago
jules
60b0605ab3
Fixed some VC compiler warnings.
12 years ago
jules
27895cb6bd
New class of audio format readers: MemoryMappedAudioFormatReader, which does what it says on the tin.
12 years ago