[Scummvm-devel] PORTERS: Upcoming OSystem API changes

Max Horn max at quendi.de
Sat Jun 28 12:21:51 CEST 2008


Hi again,

some more late (but pre-announced) changes:

Am 02.05.2008 um 23:06 schrieb Max Horn:

> Dear porters,
>
> some notes about upcoming API changes:

[...]

>
> * A new change is scheduled for July, 1: The default
> OSystem::getFilesystemFactory() from is scheduled to go then. Only a
> few ports will be affected by this, and once again, it should be a
> really trivial changes to make. The following ports are affected
>  - PalmOS
>  - Playstation 2
>  - Nintendo DS
> Please have a go at this.

I waited almost two weeks longer. The DS port was already fixed some  
time ago, but both the PalmOS and the PS2 port currently are BROKEN  
because now the default OSystem::getFilesystemFactory()  
implementation, which contained code for these two platforms, now is  
gone.

It should be trivial to fix this; as usual, if you require assistance,  
drop me an email and I'll try to help.

>
>
> * Besides this, I also am working on a small overhaul of the
> *internal* Audio::Mixer API. Nothing changes for engines, but
> backends will have to slightly modify the way they setup the mixer.
> The goal here is to simplify and clarify the internal API:
> OSystem::getOutputSampleRate will finally go, instead the mixer will
> be told by the backend which output rate is being used. Also, some so-
> far un(der)documented parts and subtleties will be clarified (well, I
> hope). This code is not finished, I hope that I can post a first
> draft (including proposed but untested modifications to all active
> backends, meant as a helping starter for porters). I will write
> another mail at that point, and hope to get some feedback.

As usual, I got no feedback, so I'll assume that this means silent  
agreement with my plans. I'll go through my patch and commit a final  
version this weekend. I will post a separate mail once that happened,  
explaining what porters need to change.


Cheers,
Max




More information about the Scummvm-devel mailing list