Exemplo n.º 1
0
        private static void ExploreMixerDestination(Mixer mixer, int destinationIndex)
        {
            var destination = mixer.GetDestination(destinationIndex);

            Debug.WriteLine(String.Format("Destination {0}: {1}",
                                          destinationIndex, destination));
            int channels = destination.Channels;

            foreach (MixerControl control in destination.Controls)
            {
                Debug.WriteLine(String.Format("CONTROL: {0}", control));
            }
            int sources = destination.SourceCount;

            for (int sourceIndex = 0; sourceIndex < sources; sourceIndex++)
            {
                ExploreMixerSource(destination, sourceIndex);
            }
        }