public AudioMetaData GetMetaData() { AudioMetaData audioMD = new AudioMetaData(); GetMetaData(audioMD); return(audioMD); }
public void GetMetaData(AudioMetaData audioMD) { using (IMarshaler marsh = audioMD.GetMarshaler(true)) { SafeNativeMethods.xnGetAudioMetaData(this.InternalObject, marsh.Native); } }
private static IMarshaler MarshalInner(AudioMetaData obj, bool marshalOut) { IMarshaler inner = ((OutputMetaData)obj).GetMarshaler(marshalOut); obj.audio.pOutput = inner.Native; return(inner); }
public void SetData(AudioMetaData audioMD) { SetData(audioMD, audioMD.FrameID, audioMD.Timestamp); }
public void SetData(AudioMetaData audioMD, Int32 frameID, Int64 timestamp) { SetData(frameID, timestamp, audioMD.DataSize, audioMD.AudioBufferPtr); }
public AudioMetaDataMarshaler(AudioMetaData obj, bool marshalOut) : base(obj.audio, marshalOut, MarshalInner(obj, marshalOut)) { }