Commit graph

22882 commits

Author SHA1 Message Date
NepDisk
44af457363 [PATCH] Fix fades
Thanks Alug
2025-11-15 22:14:54 -05:00
NepDisk
a652bbddc0 reenable power music fades for debugging 2025-11-15 17:34:00 -05:00
NepDisk
53753ef6f2 Show Music formats by name in dbg_music 2025-11-15 17:00:00 -05:00
NepDisk
d5c494f901 [PATCH} Prevent resumes and position sets from playing a few samples of a song's beginning
Thanks Alug!
2025-11-15 16:10:20 -05:00
NepDisk
0171463dae Properly end non looping jingles in streamed audio formats 2025-11-14 19:43:38 -05:00
NepDisk
794c56504b Support GME loops by setting loops in I_PlaySong 2025-11-14 11:54:01 -05:00
NepDisk
5f99c77bcd [PATCH] Don't use magic numbers for float and short sizes
Thanks Alug
2025-11-14 10:32:49 -05:00
NepDisk
7f493e69d1 [PATCH] Fix Mono Files playing in double speed
Thanks Alug!
2025-11-14 10:28:34 -05:00
NepDisk
779e0fcc60 Update credits 2025-11-13 19:21:37 -05:00
NepDisk
e8eded5ef8 Port mixer_sound handeling of settrack
Idk if this works yet lmao
2025-11-13 19:19:37 -05:00
NepDisk
86654db6f1 [PATCH] Reset OpenMPT songpos at song end
Thanks Alug!
2025-11-13 18:42:05 -05:00
Alug
3aa0df3ce2 fix openmpt playing in mono and at halved samplerate 2025-11-13 23:29:41 +01:00
Alug
d840ae9c41 fix gme music not looping 2025-11-13 23:24:27 +01:00
NepDisk
3d607448ee [PATCH] Fix incorrect offsets in openAL music playback
Thanks Alug
2025-11-13 16:50:36 -05:00
NepDisk
8c82dcee90 Merge branch 'blankart-dev' into openalclassic 2025-11-13 01:56:16 -05:00
NepDisk
599cbafd65 Fix HUD hook not being put in the correct spot 2025-11-13 01:52:33 -05:00
NepDisk
edee116e90 Only adjust position if there is length 2025-11-12 23:21:33 -05:00
NepDisk
8a8f2d3814 Implement looping in openAL
Based upon what music setting does already but with an added loop_point var. Still suffers with the issue of inaccuracy like music setting does so needs cleanup/fixing
2025-11-12 16:39:09 -05:00
NepDisk
2664610b84 [PATCH] Properly set current_track in GME
Thanks Alug!
2025-11-12 15:44:24 -05:00
NepDisk
b11e7bbcc1 Add support for music get set and loop to other non libsndfile things 2025-11-12 14:18:44 -05:00
NepDisk
c7d577a4d0 Try to fix setting and reading music positions
Disabling music fade in so we can see if this acutally works.

Seems to have issues as it doesn't go back to the exact spot it saves (possibly samplerate related?).

It also seems to play a short sample of the start of the song for some reason

curtainly better then it not working at all.
2025-11-12 13:56:53 -05:00
NepDisk
1d2a4f98c6 re-enable music debugger and fix switch to SDL2 mixer 2025-11-12 12:25:07 -05:00
Alug
6e1fbfbb6a move audio format stuff into functions
i suck at naming things lol
2025-11-12 16:35:35 +01:00
GenericHeroGuy
e00efd2729 Set sample rate to 44.1 kHz on context creation
Also I forgot I_Sleep exists lol
2025-11-12 16:20:03 +01:00
NepDisk
6bcdc474b7 repair SDL2 link for AL 2025-11-12 09:04:26 -05:00
NepDisk
5163dc8bb8 Remove this check as its no longer needed 2025-11-12 08:41:13 -05:00
NepDisk
393f096051 Get Windows to properly compile openAL and libsndfile
yes I did just fork libsndfile just to remove FLAC support lmao
2025-11-12 08:35:18 -05:00
GenericHeroGuy
b87ffce6ce The Great Normalization
Volume division is now handled exclusively by VOLUME_DIV and NOWHERE ELSE!!!

And use fixed-point math for volume calculation in mixer_sound to avoid
precision loss
2025-11-11 21:59:28 +01:00
NepDisk
cc911adce4 [PATCH] Fix GME in OpenAL
Thanks Alug!
2025-11-11 13:59:18 -05:00
GenericHeroGuy
6246f0aa58 Kill sdl_sound.c
Unused, unmaintained, barely functional
2025-11-11 19:51:25 +01:00
GenericHeroGuy
13d73a25df Run I_UpdateAudio stuff on a separate thread
Finally, no more cutting out!
2025-11-11 18:12:42 +01:00
GenericHeroGuy
26dd165f5d Hey, macro this shit! 2025-11-11 15:08:21 +01:00
Anonimus
4d67f68aec At least explain why WADNAME warps shit themselves 2025-11-11 02:38:55 -05:00
NepDisk
fa63db9b06 Fix libgme not compiling
Still no music playback but it compiles gme now...
2025-11-10 23:13:45 -05:00
NepDisk
fd9fc0d12a [PATCH] Make OpenMPT audio play correctly
Thanks Alug
2025-11-10 15:12:21 -05:00
NepDisk
2ed4499d6d Revert "Fix incorrectly pitched sounds"
This reverts commit 71e65cff71.
2025-11-10 14:43:23 -05:00
NepDisk
48849518be Bring back debug flags 2025-11-10 14:42:07 -05:00
NepDisk
95ca3ad870 [PATCH] Fix openAL backend a ton
Thanks so Much Alug
2025-11-10 14:32:13 -05:00
NepDisk
71e65cff71 Fix incorrectly pitched sounds
Why does this work, idk. Thanks Alug
2025-11-10 12:45:52 -05:00
NepDisk
2299c08941 [PATCH] Fix Error generating sound source: Out of memory
Thanks Indev!
2025-11-10 16:26:54 +01:00
NepDisk
310d68075b Fix volume owwies 2025-11-10 09:25:38 -05:00
NepDisk
db466f410b Update sound during loops 2025-11-10 06:52:25 -05:00
NepDisk
a148e5eda1 We use boolean here sir 2025-11-10 06:46:16 -05:00
Gustaf Alhäll
50776ea5cf Fix audio playing at the wrong sample rates 2025-11-10 06:44:02 -05:00
Gustaf Alhäll
d011f7fb1f Fix compiling with GME 2025-11-10 06:43:54 -05:00
Gustaf Alhäll
454d8c82ea Fix music going silent on map change 2025-11-10 06:43:37 -05:00
Gustaf Alhäll
d80099ae7d Implement streaming music playback 2025-11-10 06:41:40 -05:00
Gustaf Alhäll
cfce6e63af Fix digital music playback 2025-11-10 06:39:16 -05:00
NepDisk
3ce2b0f4d7 Get this to compile at all 2025-11-10 06:37:20 -05:00
Gustaf Alhäll
aaa5d22ec8 Implement OpenAL as an audio backend 2025-11-10 06:27:59 -05:00