@game-vir/audio - v15.1.1
    Preparing search index...

    Type Alias AudioFileSource

    AudioFileSource: string | { codec: Codec; url: string }

    Accepted types for the AudioFile source param AudioFileParams.sources).

    Type declaration

    • string

      The URL of the audio file. The codec will be determined automatically by the file name.

    • { codec: Codec; url: string }
      • codec: Codec

        Force a specific codec for this file.

      • url: string