internal AudioEndpointVolumeChannels(IAudioEndpointVolume parent)
        {
            int ChannelCount;
            _AudioEndPointVolume = parent;

            ChannelCount = Count;
            _Channels = new AudioEndpointVolumeChannel[ChannelCount];
            for (int i = 0; i < ChannelCount; i++)
                _Channels[i] = new AudioEndpointVolumeChannel(_AudioEndPointVolume, i);
        }
Exemple #2
0
        internal AudioEndpointVolumeChannels(IAudioEndpointVolume parent)
        {
            _AudioEndPointVolume = parent;

            int channelCount = Count;

            _Channels = new AudioEndpointVolumeChannel[channelCount];
            for (int i = 0; i < channelCount; i++)
            {
                _Channels[i] = new AudioEndpointVolumeChannel(_AudioEndPointVolume, i);
            }
        }