1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-23 01:44:22 +00:00
Commit graph

273 commits

Author SHA1 Message Date
reuk
051f49c52e
WAV: Fail gracefully on unsupported bit depths 2020-12-03 12:06:01 +00:00
reuk
17dc5f7a92
MP3: Fail gracefully on unsupported mp3 formats 2020-12-03 12:06:01 +00:00
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.
2020-12-03 12:06:00 +00:00
reuk
4d27422d9f GCC: Suppress cast-align warnings 2020-09-24 12:52:45 +01:00
ed
54164fac3f Windows: Added ComSmartPtr::getInterface() and used it in a few places to simplify some COM code 2020-09-07 16:01:48 +01:00
ed
333f98d204 Squashed some compiler warnings with -Wmissing-prototypes enabled 2020-08-27 14:13:58 +01:00
ed
35d0a8c814 Updated bundled Ogg Vorbis library to 1.3.7 2020-08-13 17:35:56 +01:00
reuk
394c4fd475 Clang: Fix warnings when building with clang 10 2020-07-01 10:00:43 +01:00
reuk
ac2d7ee272 Clang: Fix build errors when using a recent clang-cl 2020-07-01 10:00:43 +01:00
ed
009d685179 Updated all license headers 2020-06-29 08:30:22 +01:00
ed
b57509c4a2 Removed some cross-module relative includes 2020-05-22 16:46:52 +01:00
ed
b0f261c5e3 MP3: Fixed a global buffer overflow and constexpr'd a few things 2020-05-04 17:42:25 +01:00
reuk
e13901d912 ClangCl: Silence code which warns when building on Windows with Clang 2020-04-27 10:22:06 +01:00
Tom Poole
6cb75d9d2c Replaced all references to ROLI with Raw Material Software and regenerated all bytecode 2020-04-23 17:30:40 +01:00
Tom Poole
894e7d2bd2 Updated all license headers 2020-04-23 17:30:39 +01:00
reuk
5f348c3040 Warnings: Add warning-wrangling header 2020-04-13 13:16:05 +01:00
reuk
327f817b9b Copyrights: Update commercial/gpl headers to be gpl-only 2020-04-09 15:22:56 +01:00
Lukasz Kozakiewicz
cfce337d81
Fix mp3 file seek when seeking to previously unplayed location. 2020-03-24 09:07:08 +01:00
reuk
0c9067c9a4 Ownership: Fix some raw/unique ptr conversion issues 2020-03-20 17:07:24 +00:00
ed
4a5dda489f Fixed some warnings with -Wconversion enabled 2020-03-17 09:02:57 +00:00
reuk
5af01b9b16 Demos: Convey proper ownership semantics 2020-03-12 18:30:45 +00:00
Tom Poole
28e03f0815 Replaced all instances of JUCE_CONSTEXPR with constexpr 2020-03-11 17:21:30 +00:00
ed
59a058fdc6 Fixed some warnings flagged up when enabling -Wswitch-enum, -Wswitch-default, -Wredundant-decls, and -Wimplicit-fallthrough 2020-03-09 17:39:28 +00:00
ed
5bda9de977 Windows: Fixed some build errors and warnings when using Clang in Visual Studio 2020-02-06 14:07:42 +00:00
ed
a54da0b832 Fixed some more typos 2020-01-07 08:53:23 +00:00
Tom Poole
dff555b23a WAV: Fixed an issue parsing RF64 headers 2019-10-21 11:54:03 +01:00
ed
a522312b47 macOS: Handle EOF in CoreAudioReader::readSamples() 2019-08-14 16:17:05 +01:00
ed
869a9fd994 CoreAudio: Handle ExtAudioFileRead() reading fewer frames than expected 2019-07-04 12:10:38 +01:00
Tom Poole
50be983db5 Fixed a compiler warning 2019-06-17 14:21:01 +01:00
jules
f746672c19 Added an overloaded read method to InputStream which takes a size_t as the size parameter, rather than an int 2019-06-13 10:10:26 +01:00
Tom Poole
a4bd6cbc66 Fixed some more Linux compiler warnings 2019-06-06 10:25:19 +01:00
ed
cb7e325d51 Fixed some variable shadowing warnings 2019-06-04 17:59:02 +01:00
Tom Poole
16dd26649a Fixed some GCC compiler warnings and removed deprecated functions 2019-06-04 16:48:44 +01:00
ed
497a1b3fb7 Added juce_UnitTestCategories.h to replace raw strings used for test categories 2019-04-03 15:10:40 +01:00
ed
f3af250ff7 Tidied up unit test code layout 2019-04-02 11:54:29 +01:00
ed
e88700be6e Added missing unit test categories 2019-04-02 11:53:18 +01:00
jules
cdb55f70c2 Changes to avoid some clang warnings 2019-01-18 08:59:28 +00:00
ed
4b92a04e27 Fixed a couple of narrowing cast bugs in AudioFormatReaders 2018-11-09 11:39:45 +00:00
jules
768139a298 Added some free functions to help make XML parsing less verbose: parseXML() 2018-10-15 16:08:25 +01:00
jules
132017558f Replaced some more stray zeros being used as null pointers 2018-10-09 11:27:42 +01:00
jules
302019dd43 Tidied up some comments and usage of File::createOutputStream() and createInputStream() 2018-10-04 11:29:55 +01:00
ed
773ca9a3b3 Replaced another call to InputStream::skipNextBytes() with ::setPosition() in CoreAudioFormatMetatdata::read() 2018-09-07 09:21:18 +01:00
ed
9a83e5cd00 Optimise CoreAudioFormatMetatdata::read() by calling InputStream::setPosition() instead of ::skipNextBytes() when skipping the data chunk 2018-09-06 09:35:30 +01:00
Tom Poole
0e1722e387 Multiple spelling fixes 2018-08-20 18:16:24 +01:00
Tom Poole
6cff481c6a Fixed some gcc 8 compiler warnings 2018-07-11 09:17:31 +01:00
jules
df6d7fa57b Added a couple of casts to some Ogg-Vorbis code to avoid the address-sanitiser complaining about bit shift ranges 2018-06-18 09:04:55 +01:00
Tom Poole
ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 2018-04-19 20:27:47 +01:00
Tom Poole
e6104e3fed Fixed a bug parsing wav cue metadata 2018-04-19 16:24:10 +01:00
jules
a632b57e7a Simplified ByteOrder, and made it less susceptible to UB when reading from non-aligned addresses. Removed ambiguous method ByteOrder::littleEndianInt (c1, c2, c3, c4), which was probably producing the wrong behaviour on big-endian systems 2018-03-26 12:25:02 +01:00
jules
9af093d1d4 Merged-in some Ogg-Vorbis security fixes 2018-03-19 14:01:16 +00:00