Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
parameter_text.hpp File Reference
#include <pulp/format/detail/locale_independent_float.hpp>
#include <pulp/runtime/exceptions.hpp>
#include <pulp/state/parameter.hpp>
#include <charconv>
#include <cmath>
#include <optional>
#include <string>
#include <string_view>

Go to the source code of this file.

Namespaces

namespace  pulp
namespace  pulp::format
 What the product grants a device: the quota table indexed by capability tier and live thermal state.

Functions

std::string pulp::format::format_parameter_text (const state::ParamInfo &info, float plain_value)
 Canonical plain-value formatting shared by format adapters and framework UI.
std::optional< float > pulp::format::parse_parameter_text (const state::ParamInfo &info, std::string_view text)
 Parse host text into a constrained plain value.