|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| std::vector< uint64_t > MayaFlux::Kakshya::wrap_position_with_loop | ( | const std::vector< uint64_t > & | position, |
| const Region & | loop_region, | ||
| bool | looping_enabled | ||
| ) |
Wrap a position within loop boundaries if looping is enabled.
| position | Current position. |
| loop_start | Loop start position. |
| loop_end | Loop end position. |
| looping_enabled | Whether looping is enabled. |
Definition at line 122 of file CoordUtils.cpp.
References MayaFlux::Kakshya::Region::end_coordinates, and MayaFlux::Kakshya::Region::start_coordinates.
Referenced by MayaFlux::Kakshya::SoundStreamContainer::set_read_position().
Here is the caller graph for this function: