setPlaybackRate()

Set the playback rate.

Synopsis:

#include <qplayer/qplayer.h>

void setPlaybackRate( const float rate );

Arguments:

rate
The new playback rate, relative to a normal rate of 1.0.

Description:

Set the playback rate (speed). The floating-point value in rate is relative to a normal rate of 1.0. A value of 0 pauses playback. Negative numbers cause the media to play in reverse.