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)
        {
            int ChannelCount;

            audioEndPointVolume = parent;

            ChannelCount = Count;
            channels     = new AudioEndpointVolumeChannel[ChannelCount];
            for (int i = 0; i < ChannelCount; i++)
            {
                channels[i] = new AudioEndpointVolumeChannel(audioEndPointVolume, i);
            }
        }