Immutable sample-anchored recording take referencing a project media asset. More...
#include <recording.hpp>
Public Member Functions | |
| ItemId | id () const noexcept |
| Returns the take's stable document identity. | |
| const MediaRef & | media () const noexcept |
| Returns the referenced asset range. | |
| timebase::SamplePosition | placement_start () const noexcept |
| Returns the absolute timeline start in samples at sample_rate(). | |
| timebase::RationalRate | sample_rate () const noexcept |
| Returns the rational rate governing placement and take duration. | |
Static Public Member Functions | |
| static runtime::Result< Take, ModelError > | create (ItemId id, MediaRef media, timebase::SamplePosition placement_start, timebase::RationalRate sample_rate) |
| Creates a sample-anchored take referencing a sealed media range. | |
Immutable sample-anchored recording take referencing a project media asset.
|
static |
Creates a sample-anchored take referencing a sealed media range.
Identity, media range, placement, and sample rate are validated.
|
inlinenoexcept |
Returns the take's stable document identity.
|
inlinenoexcept |
Returns the referenced asset range.
|
inlinenoexcept |
Returns the absolute timeline start in samples at sample_rate().
|
inlinenoexcept |
Returns the rational rate governing placement and take duration.