asynts
fa43bf92e4
LibAudio: Use InputMemoryStream instead of BufferStream.
2020-09-21 09:37:49 +02:00
Till Mayer
072e6a6405
WavLoader: Search for DATA marker by reading single bytes
...
Previously 4 bytes at once were read and compared to the string
"DATA". This worked when the DATA marker was aligned on a 32-bit
boundary relative to the start of the file. However, this is not
guranteed to always be the case, and for some files the loader
would just keep searching for the marker.
2020-06-18 23:13:48 +02:00
Andreas Kling
b517670fc9
LibAudio: Use NumericLimits<T>
2020-04-15 16:58:46 +02:00
Andreas Kling
8f7333f080
LibCore: Add a forward declaration header
...
This patch adds <LibCore/Forward.h> and uses it in various places to
shrink the header dependency graph.
2020-02-14 23:31:18 +01:00
William McPherson
aa149b9330
LibAudio/Piano: Replace floats with doubles
...
We should default to double-precision so that clients can make the
choice to use float or double.
2020-02-10 14:04:27 +01:00
William McPherson
d55d2b2794
LibAudio/aplay: Handle WAV header errors properly
...
We shouldn't just ASSERT() if the header parse fails. This was crashing
Piano completely.
2020-02-10 14:04:27 +01:00
Andreas Kling
97edc82a26
LibAudio: Remove leading A from filenames
2020-02-06 15:18:03 +01:00