mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-16 17:06:45 +01:00
ref -> rev; fix some warns; cov 33.46%
This commit is contained in:
parent
bcc3f5809e
commit
60e4bb49b2
14 changed files with 43 additions and 43 deletions
|
|
@ -64,13 +64,13 @@ impl Default for MidiPlayer {
|
|||
impl MidiPlayer {
|
||||
pub fn new (
|
||||
name: impl AsRef<str>,
|
||||
jack: &Jack,
|
||||
_jack: &Jack,
|
||||
clock: Option<&Clock>,
|
||||
clip: Option<&Arc<RwLock<MidiClip>>>,
|
||||
_midi_from: &[PortConnect],
|
||||
_midi_to: &[PortConnect],
|
||||
) -> Usually<Self> {
|
||||
let name = name.as_ref();
|
||||
let _name = name.as_ref();
|
||||
let clock = clock.cloned().unwrap_or_default();
|
||||
Ok(Self {
|
||||
midi_ins: vec![],//JackMidiIn::new(jack, format!("M/{name}"), midi_from)?,],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue