mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 05:06:43 +01:00
wip: AudioEngine pt.2 (rewrite activation sanely)
This commit is contained in:
parent
2303b258f6
commit
746e29aeb3
8 changed files with 104 additions and 106 deletions
|
|
@ -9,7 +9,7 @@ pub type PhraseChunk = [Vec<PhraseMessage>];
|
|||
/// Root level object for standalone `tek_sequencer`
|
||||
pub struct Sequencer<E: Engine> {
|
||||
/// JACK client handle (needs to not be dropped for standalone mode to work).
|
||||
pub jack: Option<Arc<JackClient>>,
|
||||
pub jack: Arc<RwLock<JackClient>>,
|
||||
/// Which view is focused
|
||||
pub focus_cursor: (usize, usize),
|
||||
/// Controls the JACK transport.
|
||||
|
|
@ -392,7 +392,7 @@ impl PartialEq for Phrase { fn eq (&self, other: &Self) -> bool { self.uuid == o
|
|||
impl Eq for Phrase {}
|
||||
impl PhrasePlayer {
|
||||
pub fn new (
|
||||
jack: &Arc<JackClient>,
|
||||
jack: &Arc<RwLock<JackClient>>,
|
||||
clock: &Arc<TransportTime>
|
||||
) -> Self {
|
||||
Self {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue