Louis Gombert
|
78d62aa5b5
|
Set SDL_OpenAudioDevice allowed_changes flag to 0 for Windows compatibility.
Per the SDL2 doc, the 0 flag means that SDL will handle any difference between the hardware audio data format and the game's
|
2024-06-29 18:28:22 +02:00 |
|
Azamat H. Hackimov
|
c41c3a7cb1
|
Replace Global* memory functions
Replace Global* memory functions with mem_* equivalents from mem.h, remove compatibility functions on Linux / macOS platforms.
|
2024-06-15 22:07:45 +03:00 |
|
GravisZro
|
d822ae99a7
|
Only close SDL audio if it's open.
There wasn't anything preventing D3 from trying to close an invalid device id.
|
2024-05-31 14:13:00 -04:00 |
|
GravisZro
|
9cf9781369
|
Properly format/use variadic macros
|
2024-05-24 20:57:17 -04:00 |
|
GravisZro
|
6a9ddd8736
|
Replace _vsnprintf /vsnprintf with std::vsnprintf
|
2024-05-24 08:52:59 -04:00 |
|
GravisZro
|
5e5e0c99c3
|
Replace "short" with "int16_t" and fix missing headers
|
2024-05-23 23:49:31 -04:00 |
|
GravisZro
|
3dcd21b717
|
Replace "unsigned short" with "uint16_t"
|
2024-05-23 23:03:29 -04:00 |
|
GravisZro
|
1618040db5
|
Replace "unsigned char" with "uint8_t"
|
2024-05-23 22:58:46 -04:00 |
|
GravisZro
|
2147cfa68b
|
Replace "unsigned int" with "uint32_t"
|
2024-05-23 22:51:16 -04:00 |
|
Azamat H. Hackimov
|
dd309d220c
|
Update SDL Audio API usage to version 2
|
2024-05-22 22:03:46 +03:00 |
|
Azamat H. Hackimov
|
0e936d6cac
|
General cleanup in sdlsound.cpp
Minor fixes and enhancements.
|
2024-05-22 22:03:46 +03:00 |
|
Azamat H. Hackimov
|
283e003b73
|
Reorganize ddsndgeometry code
Split linux geometry class implementation into own file, rename directx geometry.cpp to ds3dgeometry.cpp
|
2024-05-22 22:03:46 +03:00 |
|
Azamat H. Hackimov
|
45ac1cc78a
|
Cleanup headers in sndlib
Moving common macros into ssl_lib.h
|
2024-05-22 22:03:46 +03:00 |
|
Azamat H. Hackimov
|
974c703906
|
Reordering dd_sndlib and dd_lnxsound into sndlib
Consolidate all sound related code into one module.
|
2024-05-22 22:03:43 +03:00 |
|