Commit Graph

28 Commits

Author SHA1 Message Date
GravisZro
cf0c51c8dd Replace "sint8" with "int8_t" 2024-05-23 23:02:27 -04:00
GravisZro
961d7060c2 Replace "uint8" with "uint8_t" 2024-05-23 23:01:58 -04:00
GravisZro
38f82ab9fd Replace "sint32" with "int32_t" 2024-05-23 23:01:16 -04:00
GravisZro
4bde77bc28 Replace "uint32" with "uint32_t" 2024-05-23 23:00:36 -04:00
GravisZro
a00639be24 Replace "signed char" with "int8_t" 2024-05-23 22:59:50 -04:00
GravisZro
1618040db5 Replace "unsigned char" with "uint8_t" 2024-05-23 22:58:46 -04:00
GravisZro
0556786c12 Replace "signed int" with "int32_t" 2024-05-23 22:55:41 -04:00
GravisZro
2147cfa68b Replace "unsigned int" with "uint32_t" 2024-05-23 22:51:16 -04:00
GravisZro
dec9de7456 64-bit fixes
Switch all the (u)long types to (u)int32_t where appropriate.
2024-05-22 18:14:45 -04:00
Thomas Roß
1973aed32e [Misc] Deleted left over VS project file. 2024-05-17 18:40:32 +02:00
Jacob Coby
a6a6869a7e 64 Bit-Safe Updates
Imported Icculus' 64-bit changes.

Changes `[un]signed long` data types to `[un]signed int`.
2024-04-29 14:10:09 -04:00
Daniel Gibson
dc96e4e3b6 Remove comment about decoding ACMs as stereo in libacm/adecode.cpp
with the recent changes in libacm, it's not true or relevant anymore
2024-04-28 15:01:02 +02:00
Daniel Gibson
90f00b9e4c Update libacm to latest upstream code
which includes a fix for the problem with playback of mono ACM files
2024-04-28 14:59:32 +02:00
InsanityBringer
a164fb6d47 Remove two channel minimum of libacm 2024-04-26 14:07:48 -05:00
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