Beispiel #1
0
        private string[] GetChannelNames()
        {
            var channelTypes = project.GetActiveChannelList();
            var channelNames = new string[channelTypes.Length];

            for (int i = 0; i < channelTypes.Length; i++)
            {
                channelNames[i] = ChannelType.GetNameWithExpansion(channelTypes[i]);
            }

            return(channelNames);
        }
Beispiel #2
0
        private string[] GetChannelNames()
        {
            var channelTypes = project.GetActiveChannelList();
            var channelNames = new string[channelTypes.Length];

            for (int i = 0; i < channelTypes.Length; i++)
            {
                channelNames[i] = ChannelType.Names[channelTypes[i]];
                if (i >= ChannelType.ExpansionAudioStart)
                {
                    channelNames[i] += $" ({project.ExpansionAudioShortName})";
                }
            }
            return(channelNames);
        }