Open main menu
643 bytes added ,  20:28, 1 July 2007
Line 59: Line 59:


=== Mixer ===
=== Mixer ===
* Cleanup the mixer code
* document the semantics of sound handles and sound ids
** document the semantics of sound handles and sound ids
* cleanup the API:
** cleanup the API (TODO: Be more specific)
** get rid of the evil Mixer::setReady hack
** resolve the disparity between OSystem::getOutputSampleRate() and Mixer::getOutputRate(), probably by abolishing the former
** instead, the mixer should probably receive the sample rate as a parameter to its constructor.
** We could also make it possible to change the output sample rate the mixer uses on the fly (this would be a private API, only available to the backend, for backends which can change the output sample rate). This would essentially require changing the Channel::_converter objects
* Are there backends which could benefit from a 'custom' mixer? If so, what would be required to implement such a thing? Needs talking to porters


=== SCUMM ===
=== SCUMM ===
1,079

edits