aboutsummaryrefslogtreecommitdiff
path: root/audio/mixer.cpp
AgeCommit message (Collapse)Author
2018-05-05ALL: Use CLIP to clip volumesAdrian Frühwirth
2014-03-30ALL: Resolve multiple clang warningsMax Horn
2014-02-18AUDIO: Make GPL headers consistent in themselves.Johannes Schickel
2013-07-06ALL: Don't use EventRecorder at all when not compiled inMatthew Hoops
2013-05-17RECORDER: Implement Events RecorderEugene Sandulenko
2013-05-02AUDIO: Fix uninitalized variable. CID 1003160Eugene Sandulenko
2013-04-18AUDIO: Remove unused MixerImpl::_syst member varMax Horn
2011-08-07COMMON: Add DisposablePtr<T>, which replaces many repeated implementations ↵Christoph Mallon
of a dispose flag.
2011-06-11AUDIO: Add complementary functions for getting channel volume and balanceEugene Sandulenko
2011-05-16AUDIO: Clarify required parameters for mixCallback.Alyssa Milburn
Also, add an assert() to make invalid lengths obvious.
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
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