libopenmpt  0.7.0-pre.12+r18184
cross-platform C++ and C library to decode tracked music files
openmpt::ext::interactive3 Class Referenceabstract

#include <libopenmpt/libopenmpt_ext.hpp>

Public Member Functions

virtual void set_current_tempo2 (double tempo)=0
 Set the current module tempo. More...
 

Protected Member Functions

 interactive3 ()
 
virtual ~ interactive3 ()
 

Constructor & Destructor Documentation

◆ interactive3()

openmpt::ext::interactive3::interactive3 ( )
inlineprotected

◆ ~ interactive3()

virtual openmpt::ext::interactive3::~ interactive3 ( )
inlineprotectedvirtual

Member Function Documentation

◆ set_current_tempo2()

virtual void openmpt::ext::interactive3::set_current_tempo2 ( double  tempo)
pure virtual

Set the current module tempo.

Parameters
tempoThe new tempo in range [32, 512]. The exact meaning of the value depends on the tempo mode used by the module.
Exceptions
openmpt::exceptionThrows an exception derived from openmpt::exception if the tempo is outside the specified range.
Remarks
The tempo may be reset by pattern commands at any time. Use openmpt::ext:interactive::set_tempo_factor to apply a tempo factor that is independent of pattern commands.
See also
openmpt::module::get_current_tempo2
Since
0.7.0

The documentation for this class was generated from the following file: