Sound_InstallVoice undocumented feature?
Jon Abbott (1421) 2589 posts |
Is the following an undocumented feature to get the number of allocated voices?
I’ve found some uses of it in some titles I’m preparing for release, but am not sure if I need to fix it or pass it through to RISCOS. |
Jeffrey Lee (213) 6043 posts |
Undocumented, but also leveraged by Maestro apparently. it looks like it gets treated as an “install voice (into first free slot)” call, except it’s installing a null voice ptr. So all it really does is return the index of the first free slot in R1 (or 0 if there are no free slots). I’ll update the wiki. |
Jon Abbott (1421) 2589 posts |
Thanks for confirming, I’ll pass it through to RISC OS as its now documented. |