internal void __MarshalFrom(ref WaveFormat.__Native @ref) { this.waveFormatTag = @ref.pcmWaveFormat.waveFormatTag; this.channels = @ref.pcmWaveFormat.channels; this.sampleRate = @ref.pcmWaveFormat.sampleRate; this.averageBytesPerSecond = @ref.pcmWaveFormat.averageBytesPerSecond; this.blockAlign = @ref.pcmWaveFormat.blockAlign; this.bitsPerSample = @ref.pcmWaveFormat.bitsPerSample; this.extraSize = @ref.extraSize; }
internal void __MarshalTo(ref WaveFormat.__Native @ref) { @ref.pcmWaveFormat.waveFormatTag = this.waveFormatTag; @ref.pcmWaveFormat.channels = this.channels; @ref.pcmWaveFormat.sampleRate = this.sampleRate; @ref.pcmWaveFormat.averageBytesPerSecond = this.averageBytesPerSecond; @ref.pcmWaveFormat.blockAlign = this.blockAlign; @ref.pcmWaveFormat.bitsPerSample = this.bitsPerSample; @ref.extraSize = this.extraSize; }
internal void __MarshalFree(ref WaveFormat.__Native @ref) { @ref.__MarshalFree(); }