public CompositeWasapiOut(MMDevice dev)
        {
            realOut = new WasapiOut
            {
                Device = dev
            };

            if (dev.Equals(GetDefaultDevice()))
            {
                primaryOut = null;
            }
            else
            {
                primaryOut = new WasapiOut();
            }
        }