Previous: Audio File Support
Up: MMedUtils
Previous Page: Audio File Support
Next Page: A Multimedia Version of Ports

Unit Termination Code

When the client program using (directly or otherwise) MMedUtil exits, the unit's termination code cleans up all M-Control usage, including the details below, and reduces M-Control from its active state.

If the interface flag ReleasePlayer is set TRUE, M-Control is reduced to its lowest state of activity, Inactive; this, at present, causes M-Control to inform the videodisc player it is no longer under external CPU control. On players which lock the disc in place during external CPU control, this releases the player. On such players, this will be necessary for, among other things, changing the videodisc. However, it tends to be a long process, requiring the player to bring the disc to a stop before it releases.

If ReleasePlayer is set FALSE (its default), M-Control is reduced only to the suspended state. As in inactive state it is safe after this point to ignore the M-Control program, but it can be quickly and smoothly returned to active state by a subsequent program when it is needed again.

Only in the active state can video be visible on the screen.

Educational Technology Center
Dept. of Info. and Comp.Sci.
Univ. of California, Irvine
92717, CA, USA