GstAudio.AudioSinkClass

Fields

Name

Type

Access

Description

close

object

r

Close the device.

delay

object

r

Return how many frames are still in the device. Participates in computing the time for audio clocks and drives the synchronisation.

extension

GstAudio.AudioSinkClassExtension

r

class extension structure.

open

object

r

Open the device. No configuration needs to be done at this point. This function is also used to check if the device is available.

parent_class

GstAudio.AudioBaseSinkClass

r

the parent class structure.

pause

object

r

Pause the device and unblock write as fast as possible. For retro compatibility, the audio sink will fallback to calling reset if this vmethod is not provided.

prepare

object

r

Prepare the device to operate with the specified parameters.

reset

object

r

Returns as quickly as possible from a write and flush any pending samples from the device. This vmethod is deprecated. Please provide pause and stop instead.

resume

object

r

Resume the device.

stop

object

r

Stop the device and unblock write as fast as possible. Pending samples are flushed from the device. For retro compatibility, the audio sink will fallback to calling reset if this vmethod is not provided.

unprepare

object

r

Undo operations done in prepare.

write

object

r

Write data to the device. This vmethod is allowed to block until all the data is written. If such is the case then it is expected that pause, stop and reset will unblock the write when called.

Methods

None

Details

class GstAudio.AudioSinkClass