Zrythm
a highly automated and intuitive digital audio workstation
|
Uncategorized. More...
Data Structures | |
class | ZrythmDirectoryManager |
class | Zrythm |
To be used throughout the program. More... | |
struct | ZrythmAppUiMessage |
UI message for the message queue. More... | |
struct | ZrythmApp |
The global struct. More... | |
Macros | |
#define | ZRYTHM_PROJECTS_DIR "projects" |
#define | MAX_RECENT_PROJECTS 20 |
#define | DEBUGGING (G_UNLIKELY (gZrythm && gZrythm->debug)) |
#define | ZRYTHM_TESTING (g_test_initialized ()) |
#define | ZRYTHM_GENERATING_PROJECT (gZrythm->generating_project) |
#define | ZRYTHM_HAVE_UI (gZrythm && gZrythm->have_ui_) |
#define | ZRYTHM_USE_OPTIMIZED_DSP false |
Functions | |
ZrythmAppUiMessage * | zrythm_app_ui_message_new (GtkMessageType type, const char *msg) |
void | zrythm_app_ui_message_free (ZrythmAppUiMessage *self) |
ZrythmApp * | zrythm_app_new (int argc, const char **argv) |
Creates the Zrythm GApplication. | |
void | zrythm_app_set_font_scale (ZrythmApp *self, double font_scale) |
void | zrythm_app_check_for_updates (ZrythmApp *self) |
Handles the logic for checking for updates on startup. | |
int | zrythm_app_prompt_for_project_func (ZrythmApp *self) |
Unlike the init thread, this will run in the main GTK thread. | |
ZrythmApp ** | zrythm_app_get (void) |
Returns a pointer to the global zrythm_app. | |
bool | zrythm_app_check_and_show_trial_limit_error (ZrythmApp *self) |
Shows the trial limitation error message. | |
void * | zrythm_app_init_thread (ZrythmApp *self) |
void | zrythm_exit_response_callback (AdwDialog *dialog, gpointer user_data) |
To be used to exit Zrythm using the "response" signal on a message dialog. | |
Variables | |
std::unique_ptr< Zrythm > | gZrythm |
Global variable, should be available to all files. | |
ZrythmApp * | zrythm_app |
Global variable, should be available to all files. | |
Uncategorized.
#define ZRYTHM_GENERATING_PROJECT (gZrythm->generating_project) |
enum ZrythmDirType |
Type of Zrythm directory.
Enumerator | |
---|---|
ZRYTHM_DIR_SYSTEM_PREFIX | The prefix, or in the case of windows installer the root dir (C/program files/zrythm), or in the case of macos installer the bundle path. In all cases, "share" is expected to be found in this dir. |
ZRYTHM_DIR_SYSTEM_BINDIR | "bin" under ZRYTHM_DIR_SYSTEM_PREFIX. |
ZRYTHM_DIR_SYSTEM_PARENT_DATADIR | "share" under ZRYTHM_DIR_SYSTEM_PREFIX. |
ZRYTHM_DIR_SYSTEM_PARENT_LIBDIR | libdir name under ZRYTHM_DIR_SYSTEM_PREFIX. |
ZRYTHM_DIR_SYSTEM_ZRYTHM_LIBDIR | libdir/zrythm |
ZRYTHM_DIR_SYSTEM_BUNDLED_PLUGINSDIR | libdir/zrythm/lv2 |
ZRYTHM_DIR_SYSTEM_LOCALEDIR | Localization under "share". |
ZRYTHM_DIR_SYSTEM_SOURCEVIEW_LANGUAGE_SPECS_DIR | "gtksourceview-5/language-specs" under "share". |
ZRYTHM_DIR_SYSTEM_BUNDLED_SOURCEVIEW_LANGUAGE_SPECS_DIR | "gtksourceview-5/language-specs" under "share/zrythm". |
ZRYTHM_DIR_SYSTEM_ZRYTHM_DATADIR | share/zrythm |
ZRYTHM_DIR_SYSTEM_SAMPLESDIR | Samples. |
ZRYTHM_DIR_SYSTEM_SCRIPTSDIR | Scripts. |
ZRYTHM_DIR_SYSTEM_THEMESDIR | Themes. |
ZRYTHM_DIR_SYSTEM_THEMES_CSS_DIR | CSS themes. |
ZRYTHM_DIR_SYSTEM_THEMES_ICONS_DIR | Icon themes. |
ZRYTHM_DIR_SYSTEM_SPECIAL_LV2_PLUGINS_DIR | Special external Zrythm plugins path (not part of the Zrythm source code). Used for ZLFO and other plugins. |
ZRYTHM_DIR_SYSTEM_FONTSDIR | The directory fonts/zrythm under datadir. |
ZRYTHM_DIR_SYSTEM_TEMPLATES | Project templates. |
ZRYTHM_DIR_USER_TOP | Main zrythm directory from gsettings. |
ZRYTHM_DIR_USER_PROJECTS | Subdirs of ZRYTHM_DIR_USER_TOP. |
ZRYTHM_DIR_USER_THEMES_CSS | User CSS themes. |
ZRYTHM_DIR_USER_THEMES_ICONS | User icon themes. |
ZRYTHM_DIR_USER_SCRIPTS | User scripts. |
ZRYTHM_DIR_USER_LOG | Log files. |
ZRYTHM_DIR_USER_PROFILING | Profiling files. |
ZRYTHM_DIR_USER_GDB | Gdb backtrace files. |
ZRYTHM_DIR_USER_BACKTRACE | Backtraces. |
bool zrythm_app_check_and_show_trial_limit_error | ( | ZrythmApp * | self | ) |
Shows the trial limitation error message.
ZrythmApp * zrythm_app_new | ( | int | argc, |
const char ** | argv ) |
int zrythm_app_prompt_for_project_func | ( | ZrythmApp * | self | ) |
Unlike the init thread, this will run in the main GTK thread.
Do not put expensive logic here.
This should be ran after the expensive initialization has finished.