Synthesiser stopVoice private


#1

Any reason why Synthesiser::stopVoice is private while Synthesiser::startVoice is not ?

I'm subclassing the virtual noteOn of a Synthesiser subclass and i can't interact properly with the voices.


#2

If you look inside it, the method only calls the voice's stopNote method with a few sanity-checks. You can just do the same thing directly if you need to.


#3

thanx! i didn't checked inside the sources...