The Bonobo-Media interfaces

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 ();
	};

    };

};

Back to main page

Home | Open source | Diary | Articles | Photos | Files
This XHTML page is created by Gergõ "Cactus" Érdi. Send your comments to cactus@cactus.rulez.org.
Hosted by BME.