Commit Graph

14 Commits

Author SHA1 Message Date
Daniel Gibson
55181313c9 Fix loop in InternalAudioDecoder::Read() 2024-04-21 20:26:02 +02:00
Daniel Gibson
f8aba67c56 Remove libacm/util.c
not needed, only using functionality of decode.c
2024-04-21 18:35:56 +02:00
Daniel Gibson
89bb0a54a8 Implement an IAudioDecoder that uses libacm
removed libacm.cpp, it's now in adecode.cpp, I think that's less
confusing now that the actual upstream libacm code is also in libacm/

This fixes the crash reported in #83
2024-04-21 18:35:56 +02:00
Daniel Gibson
a55f1a33aa Make libacm.h C++-aware
see also https://github.com/markokr/libacm/pull/1
2024-04-21 18:35:56 +02:00
Daniel Gibson
94ce70bb89 AudioDecoder: Get rid of custom malloc/free functions
were never set anyway, and (the real) libacm doesn't support custom
allocators.
2024-04-21 18:25:52 +02:00
Daniel Gibson
f6f3c334de Import source of libacm 1.3, integrate it into CMake build
only the sourcefiles needed here,
from https://github.com/markokr/libacm
2024-04-21 18:25:45 +02:00
Thomas Otto
00389c50ea Some more CMake white space formatting
- tabs to spaces
 - use Unix line endings everywhere
 - newline at end of file
 - remove trailing white space
 - no space between keywords and opening parenthesis
 - use 2 spaces to indent
2024-04-21 11:46:32 +02:00
Kevin Bentley
44c4f867e8 Removed extraneous license 2024-04-20 10:15:38 -06:00
Kevin Bentley
1f45163248 Updated source to reflect the license that this code is released under. 2024-04-20 09:57:49 -06:00
Louis Gombert
c2b71b8147 Standardize CMake formatting
lowercase function names, blocks indent
2024-04-20 14:45:49 +02:00
Azamat H. Hackimov
9e6ebbc8fb Remove dublicate byteswap.h
Linux-specific byteswap.h just includes BYTESWAP.H, so there no need platform-specific header.

Fixes "non-portable path to file" ([-Wnonportable-include-path]) warnings.
2024-04-18 03:20:36 +03:00
Kevin Bentley
7399b5a2f2 Fix CRLF line endings. 2024-04-16 14:21:35 -06:00
Kevin Bentley
c6640cc631 clang-format on everything. 2024-04-16 12:56:40 -06:00
Kevin Bentley
df209742fc Initial import 2024-04-15 21:43:29 -06:00