![]() |
Blender V2.61 - r43446
|
#include <AUD_SequencerHandle.h>
Public Member Functions | |
| AUD_SequencerHandle (AUD_Reference< AUD_SequencerEntry > entry, AUD_ReadDevice &device) | |
| ~AUD_SequencerHandle () | |
| int | compare (AUD_Reference< AUD_SequencerEntry > entry) const |
| void | stop () |
| void | update (float position, float frame, float fps) |
| void | seek (float position) |
Represents a playing sequenced entry.
Definition at line 42 of file AUD_SequencerHandle.h.
| AUD_SequencerHandle::AUD_SequencerHandle | ( | AUD_Reference< AUD_SequencerEntry > | entry, |
| AUD_ReadDevice & | device | ||
| ) |
Creates a new sequenced handle.
| entry | The entry this handle plays. |
| device | The read device to play on. |
Definition at line 33 of file AUD_SequencerHandle.cpp.
References AUD_Reference< T >::isNull(), and AUD_SoftwareDevice::play().
| AUD_SequencerHandle::~AUD_SequencerHandle | ( | ) |
| int AUD_SequencerHandle::compare | ( | AUD_Reference< AUD_SequencerEntry > | entry | ) | const |
Compares whether this handle is playing the same entry as supplied.
| entry | The entry to compare to. |
Definition at line 52 of file AUD_SequencerHandle.cpp.
| void AUD_SequencerHandle::seek | ( | float | position | ) |
Seeks the handle to a specific time position.
| position | The time to seek to. |
Definition at line 141 of file AUD_SequencerHandle.cpp.
References AUD_Reference< T >::isNull().
Referenced by update().
| void AUD_SequencerHandle::stop | ( | void | ) |
Stops playing back the handle.
Definition at line 61 of file AUD_SequencerHandle.cpp.
References AUD_Reference< T >::isNull().
Referenced by ~AUD_SequencerHandle().
| void AUD_SequencerHandle::update | ( | float | position, |
| float | frame, | ||
| float | fps | ||
| ) |
Updates the handle for playback.
| position | The current time during playback. |
| frame | The current frame during playback. |
| fps | The animation frames per second. |
Definition at line 67 of file AUD_SequencerHandle.cpp.
References AUD_Quaternion::get(), AUD_Reference< T >::get(), AUD_Reference< T >::isNull(), AUD_SoftwareDevice::play(), seek(), and AUD_SoftwareDevice::setPanning().