22 [[gnu::hot]]
void process_block (
25 const dsp::TempoMap &tempo_map)
noexcept override;
27 void prepare_for_processing_impl (
29 units::sample_rate_t sample_rate,
30 units::sample_u32_t max_block_length)
override;
34 void clear_buffer (std::size_t offset, std::size_t nframes)
override;
36 friend void init_from (
38 const MidiPort &other,
42 friend void to_json (nlohmann::json &j,
const MidiPort &p)
44 to_json (j,
static_cast<const Port &
> (p));
46 friend void from_json (
const nlohmann::json &j,
MidiPort &p)
48 from_json (j,
static_cast<Port &
> (p));
54 BOOST_DESCRIBE_CLASS (MidiPort, (Port), (), (), ())