Swaptrackslot: Difference between revisions
Jump to navigation
Jump to search
Created page with "'''setmusicposition''' <volume> <level> Swaps current track with another one while attempting to keep the seek position. This is a helper function that does getmusicposition -> starttrack -> setmusicposition in one go Category:EDuke32 specific commands Category:Sound manipulation" |
Hendricks266 (talk | contribs) No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
''' | '''swaptrackslot''' <volume> <level> | ||
Swaps current track with another one while attempting to keep the seek position. | Swaps current track with another one while attempting to keep the seek position. | ||
This is a helper function | This is a helper function comparable to [[getmusicposition]] -> [[starttrack]] -> [[setmusicposition]] but with extra precautions taken to avoid stuttering in the music, particularly when combined with [[preloadtrackslotforswap]]. | ||
[[Category:EDuke32 specific commands]] | [[Category:EDuke32 specific commands]] | ||
[[Category:Sound manipulation]] | [[Category:Sound manipulation]] |
Latest revision as of 21:18, 9 July 2025
swaptrackslot <volume> <level>
Swaps current track with another one while attempting to keep the seek position.
This is a helper function comparable to getmusicposition -> starttrack -> setmusicposition but with extra precautions taken to avoid stuttering in the music, particularly when combined with preloadtrackslotforswap.