Function

GstPbutils-1.0GstPbutilscodec_utils_aac_get_sample_rate_from_index

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

    Parameters

    • sr_idx: number

      Sample rate index as from the AudioSpecificConfig (MPEG-4 container) or ADTS frame header

    Returns number

    The sample rate if sr_idx is valid, 0 otherwise.