Commit Graph

18 Commits

Author SHA1 Message Date
Iliyas Jorio d83a70ea70 cmixer::SourceMixGuard 2023-02-01 19:50:28 +01:00
Iliyas Jorio dae4b61b5b Remove sources from the mixer before deleting them 2023-01-21 13:22:39 +01:00
Iliyas Jorio 084842445d Fix long-to-int warnings 2022-11-22 22:03:24 +01:00
Iliyas Jorio 15d3606631 Support snd resources with non-0 sustain loop start frame 2022-09-25 19:06:52 +02:00
Iliyas Jorio a1e1b62681 Sound mixer big-endian compatibility 2022-09-05 18:44:59 +02:00
Iliyas Jorio 1ac775071b Init cmixer with AUDIO_S16SYS 2022-09-03 01:19:52 +02:00
Iliyas Jorio bf2469b659 Dispose sound channels before shutting down cmixer 2022-09-03 01:19:50 +02:00
Iliyas Jorio 5d3fcb6ec6 MP3 playback support 2022-07-22 08:33:17 +02:00
Iliyas Jorio 88a3e4625b Max channel gain 2022-06-02 18:59:48 +02:00
Iliyas Jorio caa3414833 SndChannelStatus: paused channels count as busy 2022-05-17 23:01:14 +02:00
Iliyas Jorio db3b81e97f Sound: Add extension commands to pause/resume audio playback
These commands supersede Pomme_PauseAllChannels().
2022-05-15 16:34:19 +02:00
Iliyas Jorio 70acda5ce4 Sound: Allow sending commands to paused channels 2022-05-15 16:34:19 +02:00
Iliyas Jorio 3f8eeba1a3 Sound mixer: Avoid buffer starvation if attempting to play empty source 2022-05-15 16:34:19 +02:00
Iliyas Jorio 08dd1e61b6 Fix memory leak in SndStartFilePlay 2022-02-23 23:20:47 +01:00
Iliyas Jorio d8e7457b95 Drop -Wno-unused-parameter 2022-02-20 17:48:56 +01:00
Iliyas Jorio 248971450a Fix minor MSVC warnings 2021-08-21 10:54:32 +02:00
Iliyas Jorio c416627b76 SndStartFilePlay: use InstallSoundInChannel 2021-08-15 13:22:25 +02:00
Iliyas Jorio 104c75ad56 Split SoundFormats/SoundMixer 2021-08-15 12:43:05 +02:00