示例#1
0
        /// <summary>
        ///Function for specifying the audio channel that should be sent to the audio output when demodulating ISB transmissions. 0 stands for Left (LSB) and 1 for Right (USB).
        /// </summary>
        /// <param name="channel"><see cref="IsbAudioChannels"/> Specified audio channel.</param>
        /// <returns>Returns <see cref="G313Demodulator"/></returns>
        public G313Demodulator IsbAudioChannel(IsbAudioChannels channel)
        {
            var result = TryIsbAudioChannel(channel);

            return(CheckFluent(result, "failed to set ISB channel"));
        }
示例#2
0
 /// <summary>
 ///Function for specifying the audio channel that should be sent to the audio output when demodulating ISB transmissions. 0 stands for Left (LSB) and 1 for Right (USB).
 /// </summary>
 /// <param name="channel"><see cref="IsbAudioChannels"/> Specified audio channel.</param>
 /// <returns>Returns true if the specified audio channel is set.</returns>
 public bool TryIsbAudioChannel(IsbAudioChannels channel)
 {
     return(G313DemodulatorApi.SetISBAudioChannel(GetHandle(), (uint)channel));
 }