/// <summary> /// Resets and updates the audio settings for audio output. /// </summary> /// <returns></returns> public static bool ResetAudioInfo() { obs_audio_info avi = new obs_audio_info { samples_per_sec = Constants.Audio.SAMPLES_PER_SEC, speakers = speaker_layout.SPEAKERS_STEREO }; if (!Obs.ResetAudio(avi)) { return(false); } return(true); }
public static extern bool obs_get_audio_info(ref obs_audio_info ai);