shithub: purgatorio

ref: d09cf07a82cf4ffb846a31d0384e774b4c4661e1
dir: /module/mpeg.m/

View raw version
#
# This module has a primitive interface to the
# mpeg device driver
#
Mpeg: module
{
	PATH:		con "/dis/lib/mpeg.dis";

	play:		fn(d: ref Draw->Display, w: ref Image, dopaint: int,
			r: Draw->Rect, file: string, notify: chan of string): string;
	ctl:		fn(msg: string): int;
	keycolor:	fn(d: ref Draw->Display): ref Draw->Image;	
};