Audaspace
1.3.0
A high level audio library.
|
Go to the documentation of this file.
36 virtual void seek(std::shared_ptr<IHandle> handle,
float time);
virtual float getPosition(std::shared_ptr< IHandle > handle)
Retrieves the position of the synchronizer.
virtual void setSyncCallback(syncFunction function, void *data)
Sets the callback function that is called when a synchronization event happens.
This class enables global synchronization of several audio applications if supported.
Definition: ISynchronizer.h:39
This class is a default ISynchronizer implementation that actually does no synchronization and is int...
Definition: DefaultSynchronizer.h:34
virtual void stop()
Stops the synchronizer playback.
The ISynchronizer interface.
virtual int isPlaying()
Retrieves whether the synchronizer is playing back.
#define AUD_NAMESPACE_END
Closes the audaspace namespace aud.
Definition: Audaspace.h:119
#define AUD_NAMESPACE_BEGIN
Opens the audaspace namespace aud.
Definition: Audaspace.h:116
#define AUD_API
Used for exporting symbols in the shared library.
Definition: Audaspace.h:93
virtual void seek(std::shared_ptr< IHandle > handle, float time)
Sets the playback position of a handle and the synchronizer to a specific time.
virtual void play()
Starts the synchronizer playback.