Пример #1
0
 // Method to marshal from managed struct tot native
 internal unsafe void __MarshalTo(ref __PcmNative @ref)
 {
     @ref.waveFormatTag         = this.waveFormatTag;
     @ref.channels              = this.channels;
     @ref.sampleRate            = this.sampleRate;
     @ref.averageBytesPerSecond = this.averageBytesPerSecond;
     @ref.blockAlign            = this.blockAlign;
     @ref.bitsPerSample         = this.bitsPerSample;
 }
Пример #2
0
 // Method to marshal from managed struct tot native
 internal void __MarshalTo(ref __PcmNative @ref)
 {
     @ref.waveFormatTag         = waveFormatTag;
     @ref.channels              = channels;
     @ref.sampleRate            = sampleRate;
     @ref.averageBytesPerSecond = averageBytesPerSecond;
     @ref.blockAlign            = blockAlign;
     @ref.bitsPerSample         = bitsPerSample;
 }
Пример #3
0
 // Method to marshal from native to managed struct
 internal unsafe void __MarshalFrom(ref __PcmNative @ref)
 {
     this.waveFormatTag         = @ref.waveFormatTag;
     this.channels              = @ref.channels;
     this.sampleRate            = @ref.sampleRate;
     this.averageBytesPerSecond = @ref.averageBytesPerSecond;
     this.blockAlign            = @ref.blockAlign;
     this.bitsPerSample         = @ref.bitsPerSample;
     this.extraSize             = 0;
 }
Пример #4
0
 // Method to marshal from native to managed struct
 internal void __MarshalFrom(ref __PcmNative @ref)
 {
     waveFormatTag         = @ref.waveFormatTag;
     channels              = @ref.channels;
     sampleRate            = @ref.sampleRate;
     averageBytesPerSecond = @ref.averageBytesPerSecond;
     blockAlign            = @ref.blockAlign;
     bitsPerSample         = @ref.bitsPerSample;
     extraSize             = 0;
 }
Пример #5
0
 // Method to marshal from managed struct tot native
 internal unsafe void __MarshalTo(ref __PcmNative @ref)
 {
     @ref.waveFormatTag = this.waveFormatTag;
     @ref.channels = this.channels;
     @ref.sampleRate = this.sampleRate;
     @ref.averageBytesPerSecond = this.averageBytesPerSecond;
     @ref.blockAlign = this.blockAlign;
     @ref.bitsPerSample = this.bitsPerSample;
 }
Пример #6
0
 // Method to marshal from native to managed struct
 internal unsafe void __MarshalFrom(ref __PcmNative @ref)
 {
     this.waveFormatTag = @ref.waveFormatTag;
     this.channels = @ref.channels;
     this.sampleRate = @ref.sampleRate;
     this.averageBytesPerSecond = @ref.averageBytesPerSecond;
     this.blockAlign = @ref.blockAlign;
     this.bitsPerSample = @ref.bitsPerSample;
     this.extraSize = 0;
 }
Пример #7
0
 internal unsafe void __MarshalFree(ref __PcmNative @ref)
 {
     @ref.__MarshalFree();
 }
Пример #8
0
 // Method to marshal from managed struct tot native
 internal void __MarshalTo(ref __PcmNative @ref)
 {
     @ref.waveFormatTag = waveFormatTag;
     @ref.channels = channels;
     @ref.sampleRate = sampleRate;
     @ref.averageBytesPerSecond = averageBytesPerSecond;
     @ref.blockAlign = blockAlign;
     @ref.bitsPerSample = bitsPerSample;
 }
Пример #9
0
 // Method to marshal from native to managed struct
 internal void __MarshalFrom(ref __PcmNative @ref)
 {
     waveFormatTag = @ref.waveFormatTag;
     channels = @ref.channels;
     sampleRate = @ref.sampleRate;
     averageBytesPerSecond = @ref.averageBytesPerSecond;
     blockAlign = @ref.blockAlign;
     bitsPerSample = @ref.bitsPerSample;
     extraSize = 0;
 }
Пример #10
0
 internal unsafe void __MarshalFree(ref __PcmNative @ref)
 {
     @ref.__MarshalFree();
 }