Audio
Sink
Class
constructor
extension
parent_
class
name
close
delay
open
pause
prepare
reset
resume
stop
unprepare
write
GJS API Reference
GstAudio-1.0
GstAudio
AudioSinkClass
Class AudioSinkClass
Hierarchy
AudioSinkClass
Index
Constructors
constructor
Properties
extension
parent_
class
name
Methods
close
delay
open
pause
prepare
reset
resume
stop
unprepare
write
Constructors
constructor
new
Audio
Sink
Class
(
)
:
GstAudio
.
AudioSinkClass
Returns
GstAudio
.
AudioSinkClass
Properties
extension
extension
:
AudioSinkClassExtension
class extension structure. Since: 1.18
field
parent_
class
parent_
class
:
AudioBaseSinkClass
the parent class structure.
field
Static
name
name
:
string
Methods
close
close
(
sink
:
GstAudio
.
AudioSink
)
:
boolean
Parameters
sink:
GstAudio
.
AudioSink
Returns
boolean
delay
delay
(
sink
:
GstAudio
.
AudioSink
)
:
number
Parameters
sink:
GstAudio
.
AudioSink
Returns
number
open
open
(
sink
:
GstAudio
.
AudioSink
)
:
boolean
Parameters
sink:
GstAudio
.
AudioSink
Returns
boolean
pause
pause
(
sink
:
GstAudio
.
AudioSink
)
:
void
Parameters
sink:
GstAudio
.
AudioSink
Returns
void
prepare
prepare
(
sink
:
GstAudio
.
AudioSink
, spec
:
AudioRingBufferSpec
)
:
boolean
Parameters
sink:
GstAudio
.
AudioSink
spec:
AudioRingBufferSpec
Returns
boolean
reset
reset
(
sink
:
GstAudio
.
AudioSink
)
:
void
Parameters
sink:
GstAudio
.
AudioSink
Returns
void
resume
resume
(
sink
:
GstAudio
.
AudioSink
)
:
void
Parameters
sink:
GstAudio
.
AudioSink
Returns
void
stop
stop
(
sink
:
GstAudio
.
AudioSink
)
:
void
Parameters
sink:
GstAudio
.
AudioSink
Returns
void
unprepare
unprepare
(
sink
:
GstAudio
.
AudioSink
)
:
boolean
Parameters
sink:
GstAudio
.
AudioSink
Returns
boolean
write
write
(
sink
:
GstAudio
.
AudioSink
, data
:
Uint8Array
)
:
number
Parameters
sink:
GstAudio
.
AudioSink
data:
Uint8Array
Returns
number
Audio
Sink
Class
constructor
extension
parent_
class
name
close
delay
open
pause
prepare
reset
resume
stop
unprepare
write
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHc3RBdWRpb18xXzAuR3N0QXVkaW8uQXVkaW9TaW5rQ2xhc3MuaHRtbCNjb25zdHJ1Y3RvciIsIm5hbWUiOiJjb25zdHJ1Y3RvciIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIiwiaHJlZiI6IkdzdEF1ZGlvXzFfMC5Hc3RBdWRpby5BdWRpb1NpbmtDbGFzcy5odG1sI2V4dGVuc2lvbiIsIm5hbWUiOiJleHRlbnNpb24iLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHc3RBdWRpb18xXzAuR3N0QXVkaW8uQXVkaW9TaW5rQ2xhc3MuaHRtbCNwYXJlbnRfY2xhc3MiLCJuYW1lIjoicGFyZW50X2NsYXNzIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MgdHNkLWlzLXN0YXRpYyIsImhyZWYiOiJHc3RBdWRpb18xXzAuR3N0QXVkaW8uQXVkaW9TaW5rQ2xhc3MuaHRtbCNuYW1lIiwibmFtZSI6Im5hbWUiLCJjaGlsZHJlbiI6W10sImlzRXh0Z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