Age | Commit message (Collapse) | Author |
|
|
|
Also, add an assert() to make invalid lengths obvious.
|
|
|
|
Some backends may break as I only compiled SDL
|
|
|
|
This renames setMuteForSoundType to muteSoundType and getMuteForSoundType to
isSoundTypeMuted.
|
|
This also adapts our default implementation MixerImpl to handle the newly
added flags properly.
Now we do not need to set the sound volume for all types to 0, in case we want
to mute them, but instead just set the mute flag for all types to true. This
allows engines to be a bit more agonstic about mute support, when it comes to
volume options etc. since they can just setup any volume they like, but are
still muted (and thus will not break muting anymore).
MIDI sound is of course not affected by this.
|
|
The RateConverter::flow result was never used, pipe it through
Channel::mix to MixerImpl::mixCallback, so backends can decide
if they want to waste cpu cycles while playing empty buffers.
|
|
svn-id: r55850
|