aboutsummaryrefslogtreecommitdiff
path: root/audio
AgeCommit message (Collapse)Author
2011-03-22AUDIO: Add pure virtual MidiDriver::isOpen() methodMax Horn
This in turn enables modifying MidiDriver_MPU401::close() to allow it to be called on a midi driver that has not yet been opened. The specific issue that triggered me to make these changes was a crash-upon-quit in HUGO, caused by it instantiating a midi driver, then encountering an error (missing hugo.dat) *before* having opened the new midi driver; the general cleanup code then tries to close the (not yet opened) midi driver -> kaboom Also fixed some engines which were leaking MidiDriver instances.
2011-03-22AUDIO: Cleanupdhewg
Is it just me or is overwriting-but-not-marking-as-virtual irritating?
2011-03-19ALL: s/PI/M_PI/dhewg
Tip of the day: git grep -w PI
2011-03-19AUDIO: Changed several places that use PI to use M_PI insteadmd5
2011-03-11AUDIO: Fix some whitespacesdhewg
2011-03-11AUDIO: Work around ARM code volume limitsdhewg
The ARM specific rate converters work with 8bit volume vars. Limit volumes to 0xff to prevent crackling.
2011-03-01AUDIO: Removed comment about MDT_PREFER_MT32 and the MT-32 emulatormd5
2011-03-01MIDI: Updated documentation on MDT_PREFER_MT32 and MDT_PREFER_GMmd5
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-14MT32: Adapt to setPalette RGBA->RGB change.Johannes Schickel
2011-02-13AUDIO: Fix assertion triggered by SubSeekableAudioStream constructor.Johannes Schickel
This assertion was introduced with 633b8ed27784. I change the code to first convert all parameters to the audio stream's framerate to avoid a possible use of operator- on two AudioTimestamps with different framerates.
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850