NeuralAmpModeler-rs 3.0.0

An opinionated, high-performance Neural Amp Modeler (NAM) client and core implementation in Rust for Linux/PipeWire and CLAP plugins.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// SPDX-License-Identifier: Apache-2.0
// Copyright (c) 2026 Fábio Henrique de Lima Silva (fhl.bsb@gmail.com) All rights reserved.

use std::path::PathBuf;
use std::sync::Mutex;
use std::sync::atomic::AtomicBool;

pub(crate) struct DialogSharedState {
    pub pending_model: Mutex<Option<PathBuf>>,
    pub loading: AtomicBool,
}

pub(crate) struct IrDialogSharedState {
    pub pending_ir: Mutex<Option<PathBuf>>,
    pub ir_loading: AtomicBool,
}