is there a way to mute / demute a channel group? one can set the volume for a ChannelGroup, but i find no method such as setMute for Channel.
fyi: i have three kinds of sound: background, fx and gui sounds. so i would like to mute / demute the fx and background sounds seperately. hence i have used channel groups.
maybe i have missed something, any help is welcome
- boto asked 13 years ago
one further note: after experimenting a while i am more and more suspecting that something is wrong with channel groups in conjuction with muting included channels. when i mute and de-mute included channels in a channel group the channels seem to lose their group affiliation.
e.g. trying to set the group volume after muting and de-muting some included channels has no longer any effect on the volume of the included channels.
btw: i am using the newest version of FMOD, 4.03.02 it is.
sorry for spaming you with too much issues. i have a new problem. when sounds are released and their channels were in a channel group then the number of channels in that group does not decrease. i also ‘stop’ the channels before releasing them. the channel group gets bigger and bigger when creating and releasing channels inside it.
may this be a problem? or should i ignore this?
the problem with overrideMute is that it really overrides the mute state of every channel. i.e. if a channel was not muted before and i do a overrideMute( true ) and then overrideMute( false ) then the channel gets unmuted, what is unwanted!
the setVolume function has the right behaviour though, it stores the old volume of individual channels.
Please login first to submit.