module Bonobo {
module Media {
typedef long Position;
interface Stream: Bonobo::Unknown {
exception NotSupported {};
exception NotFound {};
exception InvalidPosition {};
Position getLength () raises (NotSupported);
oneway void seek (in Position pos) raises (InvalidPosition, NotSupported);
float getPositionsPerSecond ();
oneway void stop (); /* Pause at current position */
oneway void play (); /* Play from current position */
};
interface Tuneable: Bonobo::Unknown {
/* DESIGN ME */
};
interface Audio: Bonobo::Unknown {
typedef float Volume;
typedef string ESDSpeaker;
void setVolume (in Volume vol);
void setMute (in boolean mute);
void setSpeaker (in ESDSpeaker speaker);
};
interface Video: Bonobo::Unknown {
Control getVideoControl ();
};
};
};
|