|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
Uncategorized. More...
Data Structures | |
| class | zrythm::Zrythm |
| To be used throughout the program. More... | |
| struct | ZrythmAppUiMessage |
| UI message for the message queue. More... | |
| class | ZrythmApp |
| The Zrythm GTK application. More... | |
Macros | |
| #define | MAX_RECENT_PROJECTS 20 |
| #define | DEBUGGING (Q_UNLIKELY (gZrythm && gZrythm->debug_)) |
| #define | ZRYTHM_BENCHMARKING (gZrythm && gZrythm->benchmarking_) |
| #define | ZRYTHM_GENERATING_PROJECT (gZrythm->generating_project_) |
| #define | ZRYTHM_HAVE_UI (gZrythm && gZrythm->have_ui_) |
| #define | ZRYTHM_BREAK_ON_ERROR (gZrythm && gZrythm->break_on_error_) |
| #define | ZRYTHM_USE_OPTIMIZED_DSP (Q_LIKELY (gZrythm->use_optimized_dsp_)) |
Functions | |
| void | zrythm::Zrythm::pre_init (std::optional< std::filesystem::path > exe_path, bool have_ui, bool optimized_dsp) |
| Called before init(). | |
| void | zrythm::Zrythm::init () |
| QString | zrythm::Zrythm::getVersion () const |
| static utils::Utf8String | zrythm::Zrythm::get_version (bool with_v) |
| Returns the version string. | |
| static utils::Version | zrythm::Zrythm::get_app_version () |
| Returns the application version as a Version struct. | |
| static bool | zrythm::Zrythm::is_release (bool official) |
| Returns whether the current Zrythm version is a release version. | |
| static void | zrythm::Zrythm::fetch_latest_release_ver_async (networking::URL::GetContentsAsyncCallback callback) |
| static bool | zrythm::Zrythm::is_latest_release (const char *remote_latest_release) |
| Returns whether the given release string is the latest release. | |
| static void | zrythm::Zrythm::get_version_with_capabilities (char *buf, bool include_system_info) |
| Returns the version and the capabilities. | |
| static utils::Utf8String | zrythm::Zrythm::get_system_info () |
| Returns system info (mainly used for bug reports). | |
| void | zrythm::Zrythm::init_user_dirs_and_files () |
| Initializes/creates the default dirs/files in the user directory. | |
Variables | |
| std::filesystem::path | zrythm::Zrythm::exe_path_ |
| argv[0]. | |
| std::unique_ptr< Settings > | zrythm::Zrythm::settings_ |
| Application settings. | |
| bool | zrythm::Zrythm::opening_template_ = false |
| Whether the open file is a template to be used to create a new project from. | |
| bool | zrythm::Zrythm::creating_project_ = false |
| Whether creating a new project, either from a template or blank. | |
| std::filesystem::path | zrythm::Zrythm::create_project_path_ |
| Path to create a project in, including its title. | |
| std::filesystem::path | zrythm::Zrythm::open_filename_ |
| Filename to open passed through the command line. | |
| Symap | zrythm::Zrythm::symap_ |
| String interner for internal things. | |
| bool | zrythm::Zrythm::debug_ = false |
| In debug mode or not (determined by GSetting). | |
| bool | zrythm::Zrythm::break_on_error_ = false |
| Whether to abort() on an error log message. | |
| bool | zrythm::Zrythm::generating_project_ = false |
| Whether this is a dummy instance used when generating projects. | |
| bool | zrythm::Zrythm::have_ui_ = false |
| 1 if Zrythm has a UI, 0 if headless (eg, when unit-testing). | |
| bool | zrythm::Zrythm::use_optimized_dsp_ = false |
| Whether to use optimized DSP when available. | |
| int | zrythm::Zrythm::undo_stack_len_ = 0 |
| Undo stack length, used during tests. | |
| bool | zrythm::Zrythm::open_newer_backup_ = false |
| Whether to open a newer backup if found. | |
| bool | zrythm::Zrythm::use_pipewire_in_tests_ = false |
| Whether to use pipewire in tests. | |
| ProcessId | zrythm::Zrythm::pipewire_pid_ = 0 |
| Process ID for pipewire (used in tests). | |
| std::unique_ptr< ChordPresetPackManager > | zrythm::Zrythm::chord_preset_pack_manager_ |
| Chord preset pack manager. | |
| std::unique_ptr< DspContextRAII > | zrythm::Zrythm::lsp_dsp_context_ |
| LSP DSP context for the main thread. | |
| bool | zrythm::Zrythm::benchmarking_ = false |
| Whether currently running under the benchmarker. | |
| Glib::RefPtr< ZrythmApp > | zrythm_app |
| Global variable, should be available to all files. | |
Properties | |
| QML_ELEMENT QString | zrythm::Zrythm::version |
Uncategorized.
| #define ZRYTHM_BENCHMARKING (gZrythm && gZrythm->benchmarking_) |
| #define ZRYTHM_BREAK_ON_ERROR (gZrythm && gZrythm->break_on_error_) |
| #define ZRYTHM_GENERATING_PROJECT (gZrythm->generating_project_) |
| #define ZRYTHM_USE_OPTIMIZED_DSP (Q_LIKELY (gZrythm->use_optimized_dsp_)) |
|
static |
| callback | A GAsyncReadyCallback to call when the request is satisfied. |
| callback_data | Data to pass to callback. |
|
static |
Returns the version string.
| with_v | Include a starting "v". |
|
static |
Returns the version and the capabilities.
| buf | Buffer to write the string to. |
| include_system_info | Whether to include additional system info (for bug reports). |
| void zrythm::Zrythm::init_user_dirs_and_files | ( | ) |
Initializes/creates the default dirs/files in the user directory.
| ZrythmException | If an error occured. |
|
static |
Returns whether the current Zrythm version is a release version.
| void zrythm::Zrythm::pre_init | ( | std::optional< std::filesystem::path > | exe_path, |
| bool | have_ui, | ||
| bool | optimized_dsp ) |
Called before init().
TODO: check if can be merged into init().
| have_ui | Whether Zrythm is instantiated with a UI (false if headless). |
| testing | Whether this is a unit test. |
| bool zrythm::Zrythm::benchmarking_ = false |
| bool zrythm::Zrythm::break_on_error_ = false |
| std::unique_ptr<ChordPresetPackManager> zrythm::Zrythm::chord_preset_pack_manager_ |
| std::filesystem::path zrythm::Zrythm::create_project_path_ |
| bool zrythm::Zrythm::creating_project_ = false |
| bool zrythm::Zrythm::debug_ = false |
| bool zrythm::Zrythm::generating_project_ = false |
| bool zrythm::Zrythm::have_ui_ = false |
| std::unique_ptr<DspContextRAII> zrythm::Zrythm::lsp_dsp_context_ |
| std::filesystem::path zrythm::Zrythm::open_filename_ |
| bool zrythm::Zrythm::open_newer_backup_ = false |
| bool zrythm::Zrythm::opening_template_ = false |
| ProcessId zrythm::Zrythm::pipewire_pid_ = 0 |
| std::unique_ptr<Settings> zrythm::Zrythm::settings_ |
| Symap zrythm::Zrythm::symap_ |
| int zrythm::Zrythm::undo_stack_len_ = 0 |
| bool zrythm::Zrythm::use_optimized_dsp_ = false |
| bool zrythm::Zrythm::use_pipewire_in_tests_ = false |