unsafe void TapInitialization(MTAudioProcessingTap tap, out void *tapStorage) { context = new AVAudioTapProcessorContext { SupportedTapProcessingFormat = false, IsNonInterleaved = false, SampleRate = double.NaN, SampleCount = 0, LeftChannelVolume = 0, RightChannelVolume = 0 }; // We don't use tapStorage we store all data within context field tapStorage = (void *)IntPtr.Zero; }
unsafe void TapInitialization (MTAudioProcessingTap tap, out void* tapStorage) { context = new AVAudioTapProcessorContext { SupportedTapProcessingFormat = false, IsNonInterleaved = false, SampleRate = double.NaN, SampleCount = 0, LeftChannelVolume = 0, RightChannelVolume = 0 }; // We don't use tapStorage we store all data within context field tapStorage = (void*)IntPtr.Zero; }