Example #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;
 }
Example #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;
 }
Example #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;
 }
Example #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;
 }
Example #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;
 }
Example #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;
 }
Example #7
0
 internal unsafe void __MarshalFree(ref __PcmNative @ref)
 {
     @ref.__MarshalFree();
 }
Example #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;
 }
Example #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;
 }
Example #10
0
 internal unsafe void __MarshalFree(ref __PcmNative @ref)
 {
     @ref.__MarshalFree();
 }