Ejemplo n.º 1
0
 internal void GetPropertyInfo(AudioFilePropertyId id, out uint dataSize, out uint isWritable) =>
 SafeNativeMethods.AudioFileGetPropertyInfo(Handle, id, out dataSize, out isWritable);
Ejemplo n.º 2
0
 internal void SetProperty(AudioConverterPropertyId propertyId, uint size, IntPtr data)
 {
     SafeNativeMethods.AudioConverterSetProperty(_handle, propertyId, size, data);
 }
Ejemplo n.º 3
0
 internal void FillBuffer(
     ref uint packetSize,
     ref AudioBufferList outputBuffer,
     AudioStreamPacketDescription[]?packetDescriptions) =>
 SafeNativeMethods.AudioConverterFillComplexBuffer(_handle, _inputCallback, IntPtr.Zero,
                                                   ref packetSize, ref outputBuffer, packetDescriptions);