AudioRenderCapacityEventInit constructor

AudioRenderCapacityEventInit({
  1. double? timestamp,
  2. double? averageLoad,
  3. double? peakLoad,
  4. double? underrunRatio,
})

Implementation

factory AudioRenderCapacityEventInit(
        {double? timestamp,
        double? averageLoad,
        double? peakLoad,
        double? underrunRatio}) =>
    AudioRenderCapacityEventInit._(
        timestamp: timestamp ?? 0,
        averageLoad: averageLoad ?? 0,
        peakLoad: peakLoad ?? 0,
        underrunRatio: underrunRatio ?? 0);