aboutsummaryrefslogtreecommitdiff
path: root/audio/mixer_intern.h
AgeCommit message (Collapse)Author
2011-04-16AUDIO: Cleanup sound type settings handling in MixerImpl.Johannes Schickel
2011-04-16AUDIO: Renamed mute related functions in Mixer.Johannes Schickel
This renames setMuteForSoundType to muteSoundType and getMuteForSoundType to isSoundTypeMuted.
2011-04-13AUDIO: Add per sound type mute flag setting to Mixer(Impl).Johannes Schickel
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.
2011-02-27AUDIO: Make mixCallback return the sample countdhewg
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.
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850