This is the only parameter that can set to "None" and it was originally specified like that to avoid having to create an extra constant and qstring. However, it makes sense to keep the SoundEffect.FX_NONE constant, so maybe we should remove the SoundEffect internal logic that converts 0 to None?
SoundEffect.FX_NONE
is0
:SoundEffect(fx=SoundEffect.FX_NONE).fx
returnsNone
:But the
fx
parameter cannot be set toNone
:But the
fx
attribute can:This is the only parameter that can set to "None" and it was originally specified like that to avoid having to create an extra constant and qstring. However, it makes sense to keep the
SoundEffect.FX_NONE
constant, so maybe we should remove the SoundEffect internal logic that converts0
toNone
?