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);
            }
        }
예제 #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);
            }
        }