using NTwain.Data;
using NTwain.Internals;
namespace NTwain.Triplets
{
///
/// Represents .
///
public sealed class AudioInfo : OpBase
{
internal AudioInfo(ITwainStateInternal session) : base(session) { }
///
/// Used to get the information of the current audio data ready to transfer.
///
/// The info.
///
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.SourceId, Message.Get, info);
}
}
}