static void PlayWithJack() { using (Processor processor = new Processor("PdTest", 0, 2, 0, 0, true)) using (IWavePlayer output = new JackOut(processor)) using (PdProvider pd = new PdProvider()) { output.Init(pd); output.Play(); Console.ReadLine(); output.Stop(); } }
public static void CreateOutput() { _client = new Processor ("testNaudioOut", 0, 2); _jackOut = new JackOut (_client); }
public NAudioJack(IWaveProvider provider) { _waveProvider = provider; _jackProcessor = new Processor("PremierLeague", audioOutPorts:2, autoconnect:true); _soundOutput = new JackOut(_jackProcessor); }