GstAudio.AudioSinkClass¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
close |
r |
Close the device. |
|
delay |
r |
Return how many frames are still in the device. Participates in computing the time for audio clocks and drives the synchronisation. |
|
extension |
r |
class extension structure. |
|
open |
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 |
r |
the parent class structure. |
|
pause |
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 |
r |
Prepare the device to operate with the specified parameters. |
|
reset |
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 |
r |
Resume the device. |
|
stop |
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 |
r |
Undo operations done in prepare. |
|
write |
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¶