Pulp
1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
max_block_contract.hpp
Go to the documentation of this file.
1
#pragma once
2
35
36
namespace
pulp::format
{
37
48
constexpr
int
clamp_block_to_prepared_max
(
int
requested,
int
prepared_max)
noexcept
{
49
return
(prepared_max > 0 && requested > prepared_max) ? prepared_max : requested;
50
}
51
52
}
// namespace pulp::format
pulp::format
What the product grants a device: the quota table indexed by capability tier and live thermal state.
Definition
aax_editor.hpp:31
pulp::format::clamp_block_to_prepared_max
constexpr int clamp_block_to_prepared_max(int requested, int prepared_max) noexcept
Clamp a requested per-block frame count to the prepared maximum.
Definition
max_block_contract.hpp:48
core
format
include
pulp
format
max_block_contract.hpp
Generated by
1.15.0