MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ get_cache_age_seconds()

double MayaFlux::Kakshya::RegionSegment::get_cache_age_seconds ( ) const
inline

Get the age of the cache in seconds.

Returns
Age in seconds, or -1 if not cached.

Definition at line 122 of file RegionSegment.hpp.

123 {
124 if (!is_cached)
125 return -1.0;
126 return cache.age().count();
127 }
std::chrono::duration< double > age() const
bool is_cached
Flag indicating if data is cached.
RegionCache cache
Multi-channel cached audio data.

References MayaFlux::Kakshya::RegionCache::age().

+ Here is the call graph for this function: