nongnu.org/gsequencer


gsequencer 7.0.5
Advanced Gtk+ Sequencer
ags_vst_iprocess_context.h
Go to the documentation of this file.
1/* GSequencer - Advanced GTK Sequencer
2 * Copyright (C) 2005-2021 Joël Krähemann
3 *
4 * This file is part of GSequencer.
5 *
6 * GSequencer is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * GSequencer is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with GSequencer. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20#ifndef __AGS_VST_IPROCESS_CONTEXT_H__
21#define __AGS_VST_IPROCESS_CONTEXT_H__
22
23#include <glib.h>
24
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31
36
52
53 typedef struct FrameRate AgsVstFrameRate;
54 typedef struct Chord AgsVstChord;
55 typedef struct ProcessContext AgsVstProcessContext;
56
58 guint32 frames_per_second);
59
61 guint32 flags);
62
64 guint8 key_note);
65
67 guint8 root_note);
68
70 gint16 chord_mask);
71
73
75 guint32 state);
76
78 gdouble samplerate);
79
81 AgsVstTSamples project_time_samples);
82
84 gint64 system_time);
85
87 AgsVstTSamples continous_time_samples);
88
90 AgsVstTQuarterNotes project_time_music);
91
93 AgsVstTQuarterNotes bar_position_music);
94
96 AgsVstTQuarterNotes cycle_start_music);
97
99 AgsVstTQuarterNotes cycle_end_music);
100
102 gdouble tempo);
103
105 guint32 time_sig_numerator);
106
108 guint32 time_sig_denominator);
109
111
113 gint32 smpte_offset_sub_frames);
114
116
118 gint32 samples_to_next_clock);
119
120#ifdef __cplusplus
121}
122#endif
123
124#endif /*__AGS_VST_IPROCESS_CONTEXT_H__*/
void ags_vst_process_context_set_tempo(AgsVstProcessContext *process_context, gdouble tempo)
Definition ags_vst_iprocess_context.cpp:242
void ags_vst_chord_set_root_note(AgsVstChord *chord, guint8 root_note)
Definition ags_vst_iprocess_context.cpp:76
AgsVstChord * ags_vst_process_context_get_chord(AgsVstProcessContext *process_context)
Definition ags_vst_iprocess_context.cpp:284
void ags_vst_process_context_set_smpte_offset_sub_frames(AgsVstProcessContext *process_context, gint32 smpte_offset_sub_frames)
Definition ags_vst_iprocess_context.cpp:297
void ags_vst_chord_set_key_note(AgsVstChord *chord, guint8 key_note)
Definition ags_vst_iprocess_context.cpp:62
AgsVstProcessContextStatesAndFlags
Definition ags_vst_iprocess_context.h:37
@ AGS_VST_KCONST_TIME_VALID
Definition ags_vst_iprocess_context.h:42
@ AGS_VST_KCYCLE_ACTIVE
Definition ags_vst_iprocess_context.h:39
@ AGS_VST_KSMPTE_VALID
Definition ags_vst_iprocess_context.h:49
@ AGS_VST_KSYSTEM_TIME_VALID
Definition ags_vst_iprocess_context.h:41
@ AGS_VST_KPROJECT_TIME_MUSIC_VALID
Definition ags_vst_iprocess_context.h:43
@ AGS_VST_KTIME_SIG_VALID
Definition ags_vst_iprocess_context.h:47
@ AGS_VST_kCycleValid
Definition ags_vst_iprocess_context.h:45
@ AGS_VST_KPLAYING
Definition ags_vst_iprocess_context.h:38
@ AGS_VST_KBAR_POSITION_VALID
Definition ags_vst_iprocess_context.h:44
@ AGS_VST_KCHORD_VALID
Definition ags_vst_iprocess_context.h:48
@ AGS_VST_KRECORDING
Definition ags_vst_iprocess_context.h:40
@ AGS_VST_KCLOCK_VALID
Definition ags_vst_iprocess_context.h:50
@ AGS_VST_KTEMPO_VALID
Definition ags_vst_iprocess_context.h:46
void ags_vst_process_context_set_samplerate(AgsVstProcessContext *process_context, gdouble samplerate)
Definition ags_vst_iprocess_context.cpp:130
AgsVstFrameRateFlags
Definition ags_vst_iprocess_context.h:32
@ AGS_VST_KPULL_DOWN_RATE
Definition ags_vst_iprocess_context.h:33
@ AGS_VST_KDROP_RATE
Definition ags_vst_iprocess_context.h:34
struct FrameRate AgsVstFrameRate
Definition ags_vst_iprocess_context.h:53
void ags_vst_process_context_set_bar_position_music(AgsVstProcessContext *process_context, AgsVstTQuarterNotes bar_position_music)
Definition ags_vst_iprocess_context.cpp:200
struct ProcessContext AgsVstProcessContext
Definition ags_vst_iprocess_context.h:55
void ags_vst_process_context_set_cycle_start_music(AgsVstProcessContext *process_context, AgsVstTQuarterNotes cycle_start_music)
Definition ags_vst_iprocess_context.cpp:214
void ags_vst_process_context_set_system_time(AgsVstProcessContext *process_context, gint64 system_time)
Definition ags_vst_iprocess_context.cpp:158
AgsVstFrameRate * ags_vst_process_context_get_frame_rate(AgsVstProcessContext *process_context)
Definition ags_vst_iprocess_context.cpp:311
void ags_vst_process_context_set_cycle_end_music(AgsVstProcessContext *process_context, AgsVstTQuarterNotes cycle_end_music)
Definition ags_vst_iprocess_context.cpp:228
void ags_vst_process_context_set_state(AgsVstProcessContext *process_context, guint32 state)
Definition ags_vst_iprocess_context.cpp:116
void ags_vst_process_context_set_project_time_samples(AgsVstProcessContext *process_context, AgsVstTSamples project_time_samples)
Definition ags_vst_iprocess_context.cpp:144
void ags_vst_frame_rate_set_flags(AgsVstFrameRate *frame_rate, guint32 flags)
Definition ags_vst_iprocess_context.cpp:48
void ags_vst_chord_set_chord_mask(AgsVstChord *chord, gint16 chord_mask)
Definition ags_vst_iprocess_context.cpp:90
void ags_vst_process_context_set_samples_to_next_clock(AgsVstProcessContext *process_context, gint32 samples_to_next_clock)
Definition ags_vst_iprocess_context.cpp:324
void ags_vst_process_context_set_continous_time_samples(AgsVstProcessContext *process_context, AgsVstTSamples continous_time_samples)
Definition ags_vst_iprocess_context.cpp:172
void ags_vst_process_context_set_project_time_music(AgsVstProcessContext *process_context, AgsVstTQuarterNotes project_time_music)
Definition ags_vst_iprocess_context.cpp:186
AgsVstProcessContext * ags_vst_process_context_alloc()
Definition ags_vst_iprocess_context.cpp:103
void ags_vst_frame_rate_set_frames_per_second(AgsVstFrameRate *frame_rate, guint32 frames_per_second)
Definition ags_vst_iprocess_context.cpp:34
void ags_vst_process_context_set_time_sig_numerator(AgsVstProcessContext *process_context, guint32 time_sig_numerator)
Definition ags_vst_iprocess_context.cpp:256
void ags_vst_process_context_set_time_sig_denominator(AgsVstProcessContext *process_context, guint32 time_sig_denominator)
Definition ags_vst_iprocess_context.cpp:270
struct Chord AgsVstChord
Definition ags_vst_iprocess_context.h:54
gdouble AgsVstTQuarterNotes
Definition ags_vst_types.h:56
gint64 AgsVstTSamples
Definition ags_vst_types.h:57