EncodingAudioProfile.this

Creates a new #GstEncodingAudioProfile

All provided allocatable arguments will be internally copied, so can be safely freed/unreferenced after calling this method.

  1. this(void* ptr, Flag!"Take" take)
  2. this(gst.caps.Caps format, string preset, gst.caps.Caps restriction, uint presence)
    class EncodingAudioProfile

Parameters

format gst.caps.Caps

the #GstCaps

preset string

the preset(s) to use on the encoder, can be null

restriction gst.caps.Caps

the #GstCaps used to restrict the input to the encoder, can be NULL. See gstpbutils.encoding_profile.EncodingProfile.getRestriction for more details.

presence uint

the number of time this stream must be used. 0 means any number of times (including never)

Return Value

the newly created #GstEncodingAudioProfile.