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

◆ is_valid_audio_token()

bool MayaFlux::Buffers::BufferTokenDistributor::is_valid_audio_token ( ProcessingToken  token)
staticprivate

Definition at line 85 of file BufferTokenDistributor.cpp.

86{
87 if (has_frame_rate(token)) {
88 return false;
89 }
90
91 return has_cpu(token) || has_gpu(token);
92}
static MayaFlux::Nodes::ProcessingToken token
Definition Timers.cpp:8
static bool has_frame_rate(ProcessingToken token)
static bool has_gpu(ProcessingToken token)
static bool has_cpu(ProcessingToken token)

References has_cpu(), has_frame_rate(), has_gpu(), and token.

Referenced by decide_audio_buffer().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: