AudioSession.GetChannelsPeakValues C# (CSharp) Méthode

GetChannelsPeakValues() public méthode

public GetChannelsPeakValues ( ) : float[]
Résultat float[]
        public float[] GetChannelsPeakValues()
        {
            var meter = (IAudioMeterInformation)_control;
            meter.GetMeteringChannelCount(out var channelCount);
            var values = new float[channelCount];
            meter.GetChannelsPeakValues(channelCount, values);
            return values;
        }
        private delegate int GetStringFn(out IntPtr ptr);