AudioTrack


Description:

[ CCode ( has_construct_function = false ) ]
public AudioTrack ()

Creates a new audio track, with a AUDIO track_type, "audio/x-raw(ANY)" caps, and "audio/x-raw" restriction_caps with the properties:

  • format: "S32LE"
  • channels: 2
  • rate: 44100
  • layout: "interleaved"

You should use update_restriction_caps if you wish to modify these fields, or add additional ones.

Returns:

The newly created audio track.