Provides a thread-safe way to share a clip's levels with an audio engine without worrying about the Clip being deleted from underneath you.
More...
#include <tracktion_Clip.h>
Provides a thread-safe way to share a clip's levels with an audio engine without worrying about the Clip being deleted from underneath you.
◆ LiveClipLevel() [1/2]
| engine::LiveClipLevel::LiveClipLevel |
( |
| ) |
|
|
defaultnoexcept |
◆ LiveClipLevel() [2/2]
| engine::LiveClipLevel::LiveClipLevel |
( |
std::shared_ptr< ClipLevel > |
l | ) |
|
|
noexcept |
◆ getGain()
| float engine::LiveClipLevel::getGain |
( |
| ) |
const |
|
noexcept |
◆ getPan()
| float engine::LiveClipLevel::getPan |
( |
| ) |
const |
|
noexcept |
Returns the clip's pan from -1.0 to 1.0.
◆ isMute()
| bool engine::LiveClipLevel::isMute |
( |
| ) |
const |
|
noexcept |
◆ getGainIncludingMute()
| float engine::LiveClipLevel::getGainIncludingMute |
( |
| ) |
const |
|
noexcept |
Returns the clip's gain if the clip is not muted.
◆ getLeftAndRightGains()
| void engine::LiveClipLevel::getLeftAndRightGains |
( |
float & |
left, |
|
|
float & |
right |
|
) |
| const |
|
noexcept |
Reutrns the left and right gains taking in to account mute and pan values.
The documentation for this struct was generated from the following file: