Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
transport_action.h File Reference

Transport action. More...

#include <stdbool.h>
#include "actions/undoable_action.h"
#include "dsp/transport.h"
#include "utils/types.h"
#include "utils/yaml.h"
Include dependency graph for transport_action.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  TransportAction
 Transport action. More...
 

Enumerations

enum  TransportActionType { TRANSPORT_ACTION_BPM_CHANGE , TRANSPORT_ACTION_BEATS_PER_BAR_CHANGE , TRANSPORT_ACTION_BEAT_UNIT_CHANGE }
 

Functions

void transport_action_init_loaded (TransportAction *self)
 
WARN_UNUSED_RESULT UndoableActiontransport_action_new_bpm_change (bpm_t bpm_before, bpm_t bpm_after, bool already_done, GError **error)
 
WARN_UNUSED_RESULT UndoableActiontransport_action_new_time_sig_change (TransportActionType type, int before, int after, bool already_done, GError **error)
 
NONNULL TransportActiontransport_action_clone (const TransportAction *src)
 
bool transport_action_perform_bpm_change (bpm_t bpm_before, bpm_t bpm_after, bool already_done, GError **error)
 
bool transport_action_perform_time_sig_change (TransportActionType type, int before, int after, bool already_done, GError **error)
 
int transport_action_do (TransportAction *self, GError **error)
 
int transport_action_undo (TransportAction *self, GError **error)
 
char * transport_action_stringize (TransportAction *self)
 
void transport_action_free (TransportAction *self)
 

Detailed Description

Transport action.

Definition in file transport_action.h.