Search Results for

    Show / Hide Table of Contents

    Struct AudioDataInfo

    Meta-data describing a chunk of audio.

    Assembly: FlaxEngine.dll
    File: Engine/Audio/Types.h
    Syntax
    public struct AudioDataInfo

    Fields

    BitDepth

    The number of bits per sample.

    Declaration
    public uint32 BitDepth
    Field Value
    uint32

    NumChannels

    The number of channels. Each channel has its own set of samples.

    Declaration
    public uint32 NumChannels
    Field Value
    uint32

    NumSamples

    The total number of audio samples in the audio data (includes all channels).

    Declaration
    public uint32 NumSamples
    Field Value
    uint32

    SampleRate

    The number of audio samples per second, per channel.

    Declaration
    public uint32 SampleRate
    Field Value
    uint32

    Methods

    GetLength()

    Gets the length of the audio data (in seconds).

    Declaration
    public float GetLength() const
    Returns
    float

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat