6#include <source_location>
8#include "dsp/midi_event.h"
9#include "structure/tracks/track.h"
10#include "utils/types.h"
12namespace zrythm::engine::session
29 StartAutomationRecording,
43 PauseAutomationRecording,
46 StopAutomationRecording,
54 std::source_location source_location = std::source_location::current ())
60 has_midi_event_ =
false;
64 source_location_ = source_location;
68 Type type_ = Type::Audio;
70 bool has_midi_event_ =
false;
92 std::array<float, 8192>
lbuf_{};
93 std::array<float, 8192> rbuf_{};
101 std::source_location source_location_;
103 BOOST_DESCRIBE_CLASS (
unsigned_frame_t g_start_frame_w_offset_
Global start frames of the event (including offset).
dsp::MidiEvent midi_event_
MidiEvent, if midi.
std::array< float, 8192 > lbuf_
The actual data (if audio).
@ Midi
These events are for processing any range.
@ PauseTrackRecording
These events are for temporarily stopping recording (eg, when outside the punch range or when looping...
structure::tracks::TrackUuid track_uuid_
The identifier of the track this event is for.
int automation_track_idx_
Index of automation track, if automation.
nframes_t local_offset_
Offset in current cycle that this event starts from.
nframes_t nframes_
Number of frames processed in this event.
Represents a track in the project.
uint_fast64_t unsigned_frame_t
Unsigned type for frame index.
uint32_t nframes_t
Frame count.
Common struct to pass around during processing to avoid repeating the data in function arguments.
nframes_t local_offset_
Offset in the current processing cycle, between 0 and the number of frames in AudioEngine....
unsigned_frame_t g_start_frame_w_offset_
Global position with EngineProcessTimeInfo.local_offset added, for convenience.
nframes_t nframes_
Number of frames to process in this call, starting from the offset.