using NTwain.Data; using NTwain.Internals; namespace NTwain.Triplets { /// /// Represents . /// public sealed class AudioInfo : OpBase { internal AudioInfo(ITwainSessionInternal session) : base(session) { } /// /// Used to get the information of the current audio data ready to transfer. /// /// The info. /// [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1021:AvoidOutParameters", MessageId = "0#")] public ReturnCode Get(out TWAudioInfo info) { Session.VerifyState(6, 7, DataGroups.Audio, DataArgumentType.AudioInfo, Message.Get); info = new TWAudioInfo(); return Dsm.DsmEntry(Session.AppId, Session.CurrentSource.Identity, Message.Get, info); } } }