Hello again.
Eric asked if I could post the sketch (which I sent him) of the
architechture idea we're based upon here, so here you are :)
The initial idea was Java Applet games with sound, taking advantage
of SAOL as the 'engine'. But we're hoping to go as general as possible,
so anything should go!
The {local } part is a pre-installed package, while tha "SA Enabled
applet" is a "drop-in replacement" class for java.applet.Applet. It is
responsible for initiating and provide highlevel services to the applet
programmer, and take care of any exceptions thrown during init (
inhibit those nasty trace dumps:) )
Legend: --X : Generalization
--> : Association
+--------------+
| «user applet»|
+--------------+
|
X
+------------------+ +--------------------+
| SA Enabled applet|-----X| java.applet.Applet |
+------------------+ +--------------------+
{network } |
.................|............................................
{local } V
+------------+
| Wrapper |
+------------+
JVM |
---------------|-------------------------------------------
OS V
+---------+ +---------+
| Manager |------> | Decoder |
+---------+ +---------+
|
V
+---------+
| Player |
+---------+
The decoder module can be replaced by a second party, to utilize
hardware. The player module is just an interface to the relevant MM
subsystem. We are doing only DART (OS/2), and DirectSound (DirectX,
Win95).
BTW: I've got a build of saolc with DART support for OS/2 that _almost_
decodes the 'clap.mp4' in realtime!.
It's only on my P133, so on a faster machine it should be OK.
There are some peculiarities in the floating point math when linked to
the MM subsys though ...
DirectX is providing only frustration at this point ;-D
This archive was generated by hypermail 2b29 : Wed May 10 2000 - 12:15:22 EDT