Module Values.AudioBlockSource

An audio content block that contains audio data in various supported formats.

Sourcetype nonrec t = {
  1. format : AudioFormat.t;
    (*

    The format of the audio data, such as MP3, WAV, FLAC, or other supported audio formats.

    *)
  2. source : AudioSource.t;
    (*

    The source of the audio data, which can be provided as raw bytes or an S3 location.

    *)
  3. error : ErrorBlock.t option;
    (*

    Error information if the audio block could not be processed or contains invalid data.

    *)
}
Sourceval context_ : string
Sourceval make : ?error:??? -> format:AudioFormat.t -> source:AudioSource.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `Blob of AudioSourceBytesBlob.t | `String of String_.t | `Structure of (string * [> `String of S3Uri.t ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t