Exemplo n.º 1
0
        public AudioMetaData GetMetaData()
        {
            AudioMetaData audioMD = new AudioMetaData();

            GetMetaData(audioMD);
            return(audioMD);
        }
Exemplo n.º 2
0
 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);
            }
Exemplo n.º 4
0
 public void SetData(AudioMetaData audioMD)
 {
     SetData(audioMD, audioMD.FrameID, audioMD.Timestamp);
 }
Exemplo n.º 5
0
 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))
 {
 }