public void DefaultChannelFormatIsStereo() { Context c = new Context(); c.ConnectAndWait(); ServerInfo info = new ServerInfo(new NativeServerInfo()); using (Operation o = c.GetServerInfo((ServerInfo i) => info = i)) { o.Wait(); } Assert.AreEqual(ChannelMap.StereoMapping().channels, info.DefaultChannelMap.channels); }
public void StereoMapHasTwoChannels() { ChannelMap map = ChannelMap.StereoMapping(); Assert.AreEqual(2, map.channels); }