mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 05:06:43 +01:00
wip: refactor pt.21: 48 errors
This commit is contained in:
parent
2188bccd63
commit
b8708d6b2d
15 changed files with 313 additions and 355 deletions
|
|
@ -9,8 +9,9 @@ pub type SequencerApp = AppContainer<
|
|||
SequencerStatusBar
|
||||
>;
|
||||
|
||||
impl SequencerApp {
|
||||
pub fn run <'a> (jack: &Arc<RwLock<JackClient>>) -> Usually<Self> {
|
||||
impl TryFrom<&Arc<RwLock<JackClient>>> for SequencerApp {
|
||||
type Error = Box<dyn std::error::Error>;
|
||||
fn try_from (jack: &Arc<RwLock<JackClient>>) -> Usually<Self> {
|
||||
let clock = Arc::new(Clock::from(Instant::default()));
|
||||
|
||||
let transport = Arc::new(RwLock::new(tek_api::Transport {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue