Function

GstPbutils-1.0GstPbutilscodec_utils_aac_get_sample_rateSince 1.10

  • Translates the sample rate index found in AAC headers to the actual sample rate.

    Parameters

    • audio_config: string | Uint8Array<ArrayBufferLike>

      a pointer to the AudioSpecificConfig as specified in the Elementary Stream Descriptor (esds) in ISO/IEC 14496-1.

    Returns number

    The sample rate if sr_idx is valid, 0 otherwise.

    1.10