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
36namespace pulp::format {
37
48constexpr 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
What the product grants a device: the quota table indexed by capability tier and live thermal state.
Definition aax_editor.hpp:31
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