FLinkBindings class
Bindings for src/link/extensions/abl_link/include/abl_link.h
.
Regenerate bindings with: flutter pub run ffigen --config ffigen.yaml
Constructors
- FLinkBindings(DynamicLibrary dynamicLibrary)
-
The symbols are looked up in
dynamicLibrary
. -
FLinkBindings.fromLookup(Pointer<
T> lookup<T extends NativeType>(String symbolName) ) -
The symbols are looked up with
lookup
.
Properties
- addresses → _SymbolAddresses
-
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
abl_link_beat_at_time(
abl_link_session_state session_state, int time, double quantum) → double - ! @brief: Get the beat value corresponding to the given time for the given quantum.
-
abl_link_capture_app_session_state(
abl_link link, abl_link_session_state session_state) → void - ! @brief Capture the current Link Session State from an application thread. Thread-safe: no Realtime-safe: yes
-
abl_link_capture_audio_session_state(
abl_link link, abl_link_session_state session_state) → void - ! @brief Capture the current Link Session State from the audio thread. Thread-safe: no Realtime-safe: yes
-
abl_link_clock_micros(
abl_link link) → int - ! brief: Get the current link clock time in microseconds. Thread-safe: yes Realtime-safe: yes
-
abl_link_commit_app_session_state(
abl_link link, abl_link_session_state session_state) → void - ! @brief Commit the given Session State to the Link session from an application thread. Thread-safe: yes Realtime-safe: no
-
abl_link_commit_audio_session_state(
abl_link link, abl_link_session_state session_state) → void - ! @brief Commit the given Session State to the Link session from the audio thread. Thread-safe: no Realtime-safe: yes
-
abl_link_create(
double bpm) → abl_link - ! @brief Construct a new abl_link instance with an initial tempo. Thread-safe: yes Realtime-safe: no
-
abl_link_create_session_state(
) → abl_link_session_state - ! @brief Create a new session_state instance. Thread-safe: yes Realtime-safe: no
-
abl_link_destroy(
abl_link link) → void - ! @brief Delete an abl_link instance. Thread-safe: yes Realtime-safe: no
-
abl_link_destroy_session_state(
abl_link_session_state abl_link_session_state) → void - ! @brief Delete a session_state instance. Thread-safe: yes Realtime-safe: no
-
abl_link_enable(
abl_link link, bool enable) → void - ! @brief Enable/disable Link. Thread-safe: yes Realtime-safe: no
-
abl_link_enable_start_stop_sync(
abl_link link, bool enabled) → void - ! @brief: Enable start/stop synchronization. Thread-safe: yes Realtime-safe: no
-
abl_link_force_beat_at_time(
abl_link_session_state session_state, double beat, int time, double quantum) → void - ! @brief: Rudely re-map the beat/time relationship for all peers in a session.
-
abl_link_is_enabled(
abl_link link) → bool - ! @brief Is Link currently enabled? Thread-safe: yes Realtime-safe: yes
-
abl_link_is_playing(
abl_link_session_state session_state) → bool - ! @brief: Is transport playing?
-
abl_link_is_start_stop_sync_enabled(
abl_link link) → bool - ! @brief: Is start/stop synchronization enabled? Thread-safe: yes Realtime-safe: no
-
abl_link_num_peers(
abl_link link) → int - ! @brief How many peers are currently connected in a Link session? Thread-safe: yes Realtime-safe: yes
-
abl_link_phase_at_time(
abl_link_session_state session_state, int time, double quantum) → double - ! @brief: Get the session phase at the given time for the given quantum.
-
abl_link_request_beat_at_start_playing_time(
abl_link_session_state session_state, double beat, double quantum) → void - ! @brief: Convenience function to attempt to map the given beat to the time when transport is starting to play in context of the given quantum. This function evaluates to a no-op if abl_link_is_playing equals false.
-
abl_link_request_beat_at_time(
abl_link_session_state session_state, double beat, int time, double quantum) → void - ! @brief: Attempt to map the given beat to the given time in the context of the given quantum.
-
abl_link_set_is_playing(
abl_link_session_state session_state, bool is_playing, int time) → void - ! @brief: Set if transport should be playing or stopped, taking effect at the given time.
-
abl_link_set_is_playing_and_request_beat_at_time(
abl_link_session_state session_state, bool is_playing, int time, double beat, double quantum) → void - ! @brief: Convenience function to start or stop transport at a given time and attempt to map the given beat to this time in context of the given quantum.
-
abl_link_set_num_peers_callback(
abl_link link, abl_link_num_peers_callback callback, Pointer< Void> context) → void -
abl_link_set_start_stop_callback(
abl_link link, abl_link_start_stop_callback callback, Pointer< Void> context) → void -
abl_link_set_tempo(
abl_link_session_state session_state, double bpm, int at_time) → void - ! @brief: Set the timeline tempo to the given bpm value, taking effect at the given time.
-
abl_link_set_tempo_callback(
abl_link link, abl_link_tempo_callback callback, Pointer< Void> context) → void -
abl_link_tempo(
abl_link_session_state session_state) → double - ! @brief: The tempo of the timeline, in Beats Per Minute.
-
abl_link_time_at_beat(
abl_link_session_state session_state, double beat, double quantum) → int - ! @brief: Get the time at which the given beat occurs for the given quantum.
-
abl_link_time_for_is_playing(
abl_link_session_state session_state) → int - ! @brief: Get the time at which a transport start/stop occurs
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited