IMMSpeed

The IMMSpeed class provides the speed functions in frames-per-second and as a percentage. The percentage value refers to a percent of the maximum speed for the device. A case for when you might use a percentage follows. You currently are playing video at the device's fastest rate, 100 percent. You want to reduce the playback rate to only 60 percent of that rate. To do this, create an IMMSpeed(60) and pass it to the playAt function. If you want the video to playback at a specific frames-per-second value, use the frames-per-second format.


IMMSpeed - Member Functions and Data by Group

Constructors & Destructor

You can construct and destruct objects of this class.


[view class]
~IMMSpeed
public:
virtual ~IMMSpeed()

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
IMMSpeed


Overload 1
public:
IMMSpeed(Format format, unsigned long speed)

Supported Platforms

Windows OS/2 AIX
Yes Yes No


Overload 2
public:
IMMSpeed(unsigned long percent = 100)

Supported Platforms

Windows OS/2 AIX
Yes Yes No


Format

Use these members to specify the speed as a percentage or in frames-per-second. These members return the current speed format and value.


[view class]
format
public:
Format format() const

Returns the current speed format. This is either in frames-per-second or percentage.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
speed
public:
virtual unsigned long speed() const

Returns the speed value as either a percentage or in frames-per-second.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


IMMSpeed - Enumerations


[view class]
Format
enum Format { percentage=3, 
              framesPerSecond }

Enumeration for specifying the way the speed is determined.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


IMMSpeed - Inherited Member Functions and Data

Inherited Public Functions

Inherited Public Data

Inherited Protected Functions

Inherited Protected Data