// Copyright (c) 2012-2023 Wojciech Figat. All rights reserved. namespace FlaxEngine { partial struct AudioDataInfo { /// /// Gets the length of the audio data (in seconds). /// public float Length => (float)NumSamples / (float)Mathf.Max(1U, SampleRate * NumChannels); } }