Exemple #1
0
 internal R128Analyzer(uint channels, uint sampleRate, bool calculateTruePeaks)
 {
     _channels           = channels;
     _calculateTruePeaks = calculateTruePeaks;
     Handle = SafeNativeMethods.Init(channels, sampleRate,
                                     calculateTruePeaks ? Modes.Global | Modes.TruePeak : Modes.Global | Modes.SamplePeak);
 }
 internal static extern Ebur128Error AddFramesFloat(
     StateHandle handle,
     in float source,