MediaControlIDL
cheap tramadol buy hydrocodone free sprint ringtones order xanax free real ringtones tracfone ringtones buy propecia order ativan free samsung ringtones tramadol online didrex online but clomid lorazepam online samsung ringtones cheap albuterol zyban online soma online but clonazepam cheap paxil real ringtones cheap sildenafil cheap soma ambien online order wellbutrin order adipex propecia online real ringtones buy diethylpropion polyphonic ringtones rivotril online jazz ringtones but lipitor lorazepam online cheap prozac carisoprodol online free polyphonic ringtones tenuate online cheap valium free polyphonic ringtones buy lipitor free ringtones phentermine online free sagem ringtones free free ringtones buy ultracet ortho online vigrx online online nexium meridia online free sharp ringtones music ringtones cheap diazepam cheap carisoprodol cheap wellbutrin meridia online free free ringtones xanax online mtv ringtones cheap fioricet free mp3 ringtones nextel ringtones adipex online xanax online sagem ringtones diazepam online clonazepam online polyphonic ringtones cheap carisoprodol wellbutrin online kyocera ringtones ativan online order viagra buy lorazepam cheap ultram kyocera ringtones cheap alprazolam free alltel ringtones cheap ambien vicodin online motorola ringtones free sony ericsson ringtones free punk ringtones viagra online but phentermine xanax online ultram online valium online cingular ringtones adipex online order cyclobenzaprine propecia online tenuate online carisoprodol online ultracet online pharmacy online online wwe ringtones diazepam online xenical online nokia ringtones free qwest ringtones cheap zanaflex cheap diazepam verizon ringtones free motorola ringtones order lortab buy prozac free ericsson ringtones but ortho cyclobenzaprine online cheap celexa free free ringtones phentermine cool ringtones cheap prozac free qwest ringtones cialis online free sprint ringtones nexium online free real ringtones free sagem ringtones free tracfone ringtones free nokia ringtones punk ringtones free mp3 ringtones sony ringtones ativan online hgh midi ringtones alltel ringtones cheap flexeril sony ericsson ringtones motorola ringtones vicodin online tracfone ringtones buy soma levitra online motorola ringtones didrex online cheap sildenafil cheap pharmacy online zoloft online order hydrocodone sony ringtones cingular ringtones viagra buy paxil ambien online lortab online order hydrocodone cheap vigrx cheap ativan hgh online sildenafil online viagra online buy ortho free nextel ringtones lisinopril online free funny ringtones free sony ericsson ringtones vicodin online hydrocodone ativan online free mono ringtones clonazepam online levitra free sprint ringtones cialis online sony ringtones order levitra zanaflex online but phentermine order celexa ultracet online free wwe ringtones sharp ringtones buy norco soma cheap ultracet free cingular ringtones cheap adipex xenical online albuterol online tenuate online ortho online free music ringtones sagem ringtones cheap lisinopril meridia online cheap propecia vigrx online cheap diethylpropion albuterol online mp3 ringtones cheap meridia free free ringtones ultram online soma online lortab online sildenafil online nextel ringtones
This page contains example code for Python bindings. |
module VLC { const float VERSION = 1.0; enum PositionOrigin { AbsolutePosition, RelativePosition, // Like relative, but wraps at the end of a file for instance: ModuloPosition }; enum PositionKey { // For raw access ByteCount, // Frame number SampleCount, // In milliseconds MediaTime }; struct Position { PositionOrigin origin; PositionKey key; long long value; }; exception PositionKeyNotSupported { string message; }; exception PositionOriginNotSupported { string message; }; exception InvalidPosition { string message; }; exception PlaylistException { string message; }; exception InternalException { string message; }; typedef sequence<string> PlaylistSeq; typedef sequence<octet> ByteSeq; struct RGBPicture { short width; short height; long type; ByteSeq data; // Timestamp (absolute position in the movie) in ms long long date; }; struct StreamInformation { short width; short height; float aspect_ratio; long bitrate; string codec; string author; }; typedef sequence<RGBPicture> RGBPictureSeq; enum PlayerStatus { PlayingStatus, PauseStatus, ForwardStatus, BackwardStatus, InitStatus, EndStatus, UndefinedStatus }; struct StatusInformation { PlayerStatus streamstatus; string url; /* The URL of the current media stream */ long long position; /* actual location in the stream (in ms) */ long long length; /* total length of the stream (in ms) */ }; interface Playlist { // Return a playlist item id int add(in string a_file) raises (PlaylistException); void next(in string a_file) raises (PlaylistException); void prev(in string a_file) raises (PlaylistException); // Set the new current item void set(int item_id) raises (PlaylistException); void remove(int item_id) raises (PlaylistException); // Clear the whole playlist void clear () raises (PlaylistException); // Return the list of files in playlist PlaylistSeq get_list () raises (PlaylistException); } // MediaControl interface is similar to // ControlledStream interface in MSS. // It can be inherited by flow endpoints or // FlowConnection interfaces. interface MediaControl { // *** Initialization // Exit the player oneway void exit (); // Return the IDL API version string get_api_version(); // Return the player version (player name version) string get_player_version(); // *** Playback control // The a_position parameters are facultative. void start(in Position a_position) raises (InternalException, InvalidPosition, PlaylistException); void pause(in Position a_position) raises (InternalException, InvalidPosition); void resume(in Position a_position) raises (InternalException, InvalidPosition); void stop(in Position a_position) raises (InternalException, InvalidPosition); Position get_media_position(in PositionOrigin an_origin, in PositionKey a_key) raises (InternalException, PositionKeyNotSupported); void set_media_position(in Position a_position) raises (InternalException, PositionKeyNotSupported, InvalidPosition); // Rate control. The rate is a signed value, corresponding to // the percentage of the speed ( 100 = normal, -100 = reverse...) int get_rate() raises (InternalException); void set_rate(int rate) raises (InternalException); // *** Media information StatusInformation get_status_information () raises (InternalException); // Return information about the current stream StreamInformation get_stream_information () raises (InternalException); // *** Playlist handling Playlist playlist() raises (InternalException); // *** Video // Return a snapshot of the currently displayed picture RGBPicture snapshot (in Position a_position) raises (InternalException); // Return the whole snapshot cache contents RGBPictureSeq all_snapshots () raises (InternalException); // Display the message string as caption, // between "begin" and "end" positions void render_text (in string message, in Position begin, in Position end) raises (InternalException); // Set the visual ID (XID in X-Window, HWIN on Win32, ??? on MacOS // X) for the player window void set_visual(long xid) raises (InternalException); boolean get_fullscreen() raises (InternalException); void set_fullscreen(boolean full) raises (InternalException); // *** Audio // Volume is normalized in [0..100] unsigned short sound_get_volume() raises (InternalException); void sound_set_volume(in unsigned short volume) raises (InternalException); void sound_mute() raises (InternalException); }; };