Import line: | GstAudio = imports.gi.GstAudio; |
GIR File: | GstAudio-0.10.gir |
C documentation: | GstAudio |
Namespace : | GstAudio |
Show / Hide Inherited methods, properties and signals |
Properties | |
---|---|
Number GstAudio.AUDIO_DEF_RATE : 44100
|
|
String GstAudio.AUDIO_FLOAT_PAD_TEMPLATE_CAPS : audio/x-raw-float, rate = (int) [ 1, MAX ], channels = (int) [ 1, MAX ], endianness = (int) { LITTLE_ENDIAN , BIG_ENDIAN }, width = (int) { 32, 64 }
|
|
String GstAudio.AUDIO_FLOAT_STANDARD_PAD_TEMPLATE_CAPS : audio/x-raw-float, width = (int) 32, rate = (int) [ 1, MAX ], channels = (int) 1, endianness = (int) BYTE_ORDER
|
|
String GstAudio.AUDIO_INT_PAD_TEMPLATE_CAPS : audio/x-raw-int, rate = (int) [ 1, MAX ], channels = (int) [ 1, MAX ], endianness = (int) { LITTLE_ENDIAN, BIG_ENDIAN }, width = (int) { 8, 16, 24, 32 }, depth = (int) [ 1, 32 ], signed = (boolean) { true, false }
|
|
String GstAudio.AUDIO_INT_STANDARD_PAD_TEMPLATE_CAPS : audio/x-raw-int, rate = (int) [ 1, MAX ], channels = (int) 2, endianness = (int) BYTE_ORDER, width = (int) 16, depth = (int) 16, signed = (boolean) true
|
None |
Method / Constructor | Defined By | |
---|---|---|
Clip the the buffer to the given GstSegment.
Clip the the buffer to the given GstSegment. After calling this function the caller does not own a reference to otherwise the clipped buffer is returned. If the buffer has no timestamp, it is assumed to be inside the segment and is not clipped
|
GstAudio | |
This functions checks if the given channel positions are valid.
This functions checks if the given channel positions are valid. Channel positions are valid if:
|
GstAudio | |
GstAudio.default_registry_mixer_filter
(Function filter_func, Boolean first, void* user_data)
:
Array
Utility function to find audio mixer elements.
Utility function to find audio mixer elements. Will traverse the default plugin registry in order of plugin rank and find usable audio mixer elements. The caller may optionally fine-tune the selection by specifying a filter function.
|
GstAudio | |
Calculate length in nanoseconds of audio buffer buf based on capabilities of
Calculate length in nanoseconds of audio buffer buf based on capabilities of
|
GstAudio | |
Custom fixate function.
Custom fixate function. Elements that implement some sort of channel conversion algorithm should use this function for fixating on GstAudioChannelPosition properties. It will take care of equal channel positioning (left/right). Caller g_free()s the return value. The input properties may be (and are supposed to be) unfixed. Note that this function is mostly a hack because we currently have no way to add default fixation functions for new GTypes. set of GstAudioChannelPosition values.
|
GstAudio | |
GstAudio | ||
Calculate length of buffer in frames.
Calculate length of buffer in frames.
|
GstAudio | |
Retrieves a number of (fixed!) audio channel positions from the provided GstStructure and returns it as a newly allocated array.
Retrieves a number of (fixed!) audio channel positions from the provided GstStructure and returns it as a newly allocated array. The caller should g_free () this array. The caller should also check that the members in this GstStructure are indeed "fixed" before calling this function. positions as provided in the given GstStructure. Returns NULL on error.
|
GstAudio | |
Check if the buffer size is a whole multiple of the frame size.
Check if the buffer size is a whole multiple of the frame size.
|
GstAudio | |
GstAudio.set_caps_channel_positions_list
(Caps caps, AudioChannelPosition pos, Number num_positions)
:
none
Sets a (possibly non-fixed) list of possible audio channel positions (given in pos) on the given caps.
Sets a (possibly non-fixed) list of possible audio channel positions (given in pos) on the given caps. Each of the structures of the caps, after this function has been called, will contain a "channel-positions" field with an array. Each value in the array will contain each of the values given in the pos array. Note that the size of the caps might be increased by this, since each structure with a "channel- positions" field needs to have a fixed "channels" field. The input caps is not required to have this.
|
GstAudio | |
Adds a "channel-positions" field to the given GstStructure, which will represent the channel positions as given in the provided GstAudioChannelPosition array.
Adds a "channel-positions" field to the given GstStructure, which will represent the channel positions as given in the provided GstAudioChannelPosition array.
|
GstAudio | |
GstAudio.set_structure_channel_positions_list
(Structure str, AudioChannelPosition pos, Number num_positions)
:
none
Sets a (possibly non-fixed) list of possible audio channel positions (given in pos) on the given structure.
Sets a (possibly non-fixed) list of possible audio channel positions (given in pos) on the given structure. The structure, after this function has been called, will contain a "channel-positions" field with an array of the size of the "channels" field value in the given structure (note that this means that the channels field in the provided structure should be fixed!). Each value in the array will contain each of the values given in the pos array.
|
GstAudio | |
Do not use anymore.
Do not use anymore.
|
GstAudio |
None |