27 #include "libardour-config.h"
35 #include <CoreFoundation/CoreFoundation.h>
59 static inline float f_max(
float x,
float a) {
94 #define METER_FALLOFF_OFF 0.0f
95 #define METER_FALLOFF_SLOWEST 6.6f
96 #define METER_FALLOFF_SLOW 8.6f
97 #define METER_FALLOFF_SLOWISH 12.0f
98 #define METER_FALLOFF_MODERATE 13.3f
99 #define METER_FALLOFF_MEDIUM 20.0f
100 #define METER_FALLOFF_FAST 32.0f
116 if (!rl) {
return cl; }
117 for (
auto const& r : *rl) {
118 std::shared_ptr<AutomationControl> ac = (r.get()->*get_control)();
128 for (
auto const & s : sl) {
129 std::shared_ptr<AutomationControl> ac = (s.get()->*get_control)();
139 if (!sl) {
return cl; }
140 for (
auto const & s : *sl) {
141 std::shared_ptr<AutomationControl> ac = (s.get()->*get_control)();
150 LIBARDOUR_API std::string CFStringRefToStdString(CFStringRef stringRef);
GtkImageIconNameData name
static const MIDISequence s2[]
static const MIDISequence s1[]
const char * native_header_format_extension(ARDOUR::HeaderFormat, const ARDOUR::DataType &type)
std::shared_ptr< AutomationControlList > route_list_to_control_list(std::shared_ptr< RouteList const > rl, std::shared_ptr< T >(Stripable::*get_control)() const)
bool path_is_paired(std::string path, std::string &pair_base)
std::string compute_sha1_of_file(std::string path)
std::string bump_name_number(const std::string &s)
std::list< std::shared_ptr< AutomationControl > > AutomationControlList
int cmp_nocase_utf8(const std::string &s1, const std::string &s2)
double gain_to_slider_position_with_max(double g, double max_gain=2.0)
std::list< std::shared_ptr< Stripable > > StripableList
std::string bool_as_string(bool)
uint32_t how_many_dsp_threads()
ARDOUR::RippleMode string_to_ripple_mode(std::string)
Temporal::samplecnt_t samplecnt_t
std::string legalize_for_path(const std::string &str)
uint32_t how_many_io_threads()
double slider_position_to_gain_with_max(double g, double max_gain=2.0)
XMLNode * find_named_node(const XMLNode &node, std::string name)
std::string legalize_for_uri(const std::string &str)
std::string legalize_for_universal_path(const std::string &str)
ARDOUR::EditMode string_to_edit_mode(std::string)
std::string bump_name_abc(const std::string &s)
std::string region_name_from_path(std::string path, bool strip_channels, bool add_channel_suffix=false, uint32_t total=0, uint32_t this_one=0)
void compute_equal_power_fades(ARDOUR::samplecnt_t nframes, float *in, float *out)
std::string legalize_for_path_2X(const std::string &str)
ARDOUR::MeterFalloff meter_falloff_from_float(float)
std::shared_ptr< AutomationControlList > stripable_list_to_control_list(StripableList &sl, std::shared_ptr< T >(Stripable::*get_control)() const)
int cmp_nocase(const std::string &s, const std::string &s2)
const char * ripple_mode_to_string(ARDOUR::RippleMode)
float meter_falloff_to_db_per_sec(float)
static float f_max(float x, float a)
bool matching_unsuffixed_filename_exists_in(const std::string &dir, const std::string &name)
float meter_falloff_to_float(ARDOUR::MeterFalloff)
std::string bump_name_once(const std::string &s, char delimiter)
const char * edit_mode_to_string(ARDOUR::EditMode)