Пример #1
0
        public static string GetStringFromAudioConfig(AUDIOCONFIG cfg)
        {
            switch (cfg)
            {
            case AUDIOCONFIG.NO_AUDIO:
                return(CFG_NO_AUDIO);

            case AUDIOCONFIG.MICROPHONE_ONLY:
                return(CFG_MICROPHONE_ONLY);

            case AUDIOCONFIG.DESKTOP_ONLY:
                return(CFG_DESKTOP_ONLY);

            case AUDIOCONFIG.MICROPHONE_AND_DESKTOP:
                return(CFG_MICROPHONE_AND_DESKTOP);

            default:
                return(CFG_NO_AUDIO);
            }
        }
Пример #2
0
 public static extern int setCfgAudioDecodeAsync(IntPtr audioAsyncInterface, AUDIOCONFIG audioCfg);
Пример #3
0
 public static extern IntPtr createAudioDecodeAsync(string deviceName, int numChannels,
                                                    int samplingRate, int bitsPerSample, int delayMs, AUDIOCONFIG audioCfg, int chunksPerSec = MixCastAV.chunksPerSec);