예제 #1
0
        public static bool IsEncodable(AudioMixdown mixdown)
        {
            switch (mixdown)
            {
            case AudioMixdown.Surround7dot1:
                return(false);

            default:
                return(true);
            }
        }
예제 #2
0
        public static int GetChannelCount(AudioMixdown mixdown)
        {
            switch (mixdown)
            {
            case AudioMixdown.Mono:
                return(1);

            case AudioMixdown.Stereo:
                return(2);

            case AudioMixdown.Surround5dot1:
                return(6);

            case AudioMixdown.Surround7dot1:
                return(8);

            default:
                return(0);
            }
        }
예제 #3
0
        public static string GetMixdownName(AudioMixdown mixdown)
        {
            switch (mixdown)
            {
            case AudioMixdown.Mono:
                return("Mono");

            case AudioMixdown.Stereo:
                return("Stereo");

            case AudioMixdown.Surround5dot1:
                return("Surround 5.1");

            case AudioMixdown.Surround7dot1:
                return("Surround 7.1");

            default:
                return(null);
            }
        }