by Rachael » Mon Mar 02, 2020 12:59 am
https://github.com/coelckers/gzdoom/pull/1047
This allows to start a sound at an arbitrary position, instead of always at the beginning. This is a port of Nash's work from the older sound code before the ZMusic refactor.
Nash's sample mod for this is here. (old sample, will not work anymore, see attachment)
Based on Nash's sample, I also updated it to use A_StartSound for the test, as well, since A_PlaySound got deprecated:
https://github.com/coelckers/gzdoom/pull/1047
This allows to start a sound at an arbitrary position, instead of always at the beginning. This is a port of Nash's work from the older sound code before the ZMusic refactor.
[s]Nash's sample mod for this is [url=https://github.com/coelckers/gzdoom/files/3822959/a_playsound_start_time_test.zip]here[/url].[/s] (old sample, will not work anymore, see attachment)
Based on Nash's sample, I also updated it to use A_StartSound for the test, as well, since A_PlaySound got deprecated:
[attachment=0]a_playsound_start_time_test-2.zip[/attachment]