Zrythm
a highly automated and intuitive digital audio workstation
Toggle main menu visibility
Main Page
Related Pages
Topics
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
e
f
g
i
m
p
r
t
w
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
z
Variables
Typedefs
Enumerations
a
b
c
e
f
g
i
k
m
n
p
r
s
t
u
z
Enumerator
a
u
z
Macros
_
a
b
c
d
e
f
h
i
k
m
p
r
s
t
u
v
z
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
graph_thread.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: © 2019-2021 Alexandros Theodotou <alex@zrythm.org>
2
// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
/*
4
* This file incorporates work covered by the following copyright and
5
* permission notice:
6
*
7
* ---
8
*
9
* Copyright (C) 2017, 2019 Robin Gareus <robin@gareus.org>
10
*
11
* This program is free software: you can redistribute it and/or modify
12
* it under the terms of the GNU General Public License as published by
13
* the Free Software Foundation, either version 3 of the License, or
14
* (at your option) any later version.
15
*
16
* This program is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU General Public License for more details.
20
*
21
* You should have received a copy of the GNU General Public License
22
* along with this program. If not, see <https://www.gnu.org/licenses/>.
23
*
24
* ---
25
*/
26
33
#ifndef __AUDIO_GRAPH_THREAD_H__
34
#define __AUDIO_GRAPH_THREAD_H__
35
36
#include "zrythm-config.h"
37
38
#include "
utils/types.h
"
39
40
#include "gtk_wrapper.h"
41
#include <pthread.h>
42
43
#ifdef HAVE_LSP_DSP
44
# include <lsp-plug.in/dsp/dsp.h>
45
#endif
46
47
typedef
struct
Graph
Graph
;
48
55
typedef
struct
GraphThread
56
{
57
pthread_t pthread;
58
65
int
id
;
66
68
Graph
*
graph
;
69
70
#ifdef HAVE_LSP_DSP
72
lsp::dsp::context_t lsp_ctx;
73
#endif
74
}
GraphThread
;
55
typedef
struct
GraphThread
{
…
};
75
83
GraphThread
*
84
graph_thread_new
(
const
int
id
,
const
bool
is_main,
Graph
* graph);
85
90
#endif
graph_thread_new
GraphThread * graph_thread_new(const int id, const bool is_main, Graph *graph)
Creates a thread.
GraphThread
Definition
graph_thread.h:56
GraphThread::id
int id
Thread index in zrythm.
Definition
graph_thread.h:65
GraphThread::graph
Graph * graph
Pointer back to the graph.
Definition
graph_thread.h:68
Graph
Graph.
Definition
graph.h:71
types.h
Custom types.
dsp
graph_thread.h
Generated by
1.11.0