internal PARTY_AUDIO_FORMAT(Interop.PARTY_AUDIO_FORMAT interopStruct) { this.SamplesPerSecond = interopStruct.samplesPerSecond; this.ChannelMask = interopStruct.channelMask; this.ChannelCount = interopStruct.channelCount; this.BitsPerSample = interopStruct.bitsPerSample; this.SampleType = interopStruct.sampleType; this.Interleaved = interopStruct.interleaved; }
internal PARTY_AUDIO_MANIPULATION_SINK_STREAM_CONFIGURATION(PartyCSharpSDK.PARTY_AUDIO_MANIPULATION_SINK_STREAM_CONFIGURATION publicObject) { this.format = new PARTY_AUDIO_FORMAT(publicObject.Format); }
internal PARTY_AUDIO_MANIPULATION_SOURCE_STREAM_CONFIGURATION(PartyCSharpSDK.PARTY_AUDIO_MANIPULATION_SOURCE_STREAM_CONFIGURATION publicObject) { this.format = new PARTY_AUDIO_FORMAT(publicObject.Format); this.maxTotalAudioBufferSizeInMilliseconds = publicObject.MaxTotalAudioBufferSizeInMilliseconds; }