unsafe extern "C" fn audio_encoder_propose_allocation<T: AudioEncoderImpl>(
    ptr: *mut GstAudioEncoder,
    query: *mut GstQuery,
) -> gboolean