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); } }
internal AudioEndpointVolumeChannels(IAudioEndpointVolume parent) { audioEndPointVolume = parent; var channelCount = Count; channels = new AudioEndpointVolumeChannel[channelCount]; for (int i = 0; i < channelCount; i++) { channels[i] = new AudioEndpointVolumeChannel(audioEndPointVolume, i); } }