//! This file contains automated tests, but they require virtual ports and therefore can't work on Windows or Web MIDI ... #![cfg(not(any(windows, target_arch = "wasm32")))] externcrate midir;
use std::thread::sleep; use std::time::Duration;
use midir::{MidiInput, MidiOutput, Ignore, MidiOutputPort}; use midir::os::unix::{VirtualInput, VirtualOutput};
#[test] fn end_to_end() { letmut midi_in = MidiInput::new("My Test Input").unwrap();
midi_in.ignore(Ignore::None); let midi_out = MidiOutput::new("My Test Output").unwrap();
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.