Audio
Src
Class
constructor
parent
Class
name
close
delay
open
prepare
read
reset
unprepare
NODE-GTK API Reference
GstAudio-1.0
GstAudio
AudioSrcClass
Class AudioSrcClass
#GstAudioSrc class. Override the vmethod to implement functionality.
record
Hierarchy
AudioSrcClass
Index
Constructors
constructor
Properties
parent
Class
name
Methods
close
delay
open
prepare
read
reset
unprepare
Constructors
constructor
new
Audio
Src
Class
(
)
:
GstAudio
.
AudioSrcClass
Returns
GstAudio
.
AudioSrcClass
Properties
parent
Class
parent
Class
:
AudioBaseSrcClass
the parent class.
field
Static
name
name
:
string
Methods
close
close
(
src
:
GstAudio
.
AudioSrc
)
:
boolean
Parameters
src:
GstAudio
.
AudioSrc
Returns
boolean
delay
delay
(
src
:
GstAudio
.
AudioSrc
)
:
number
Parameters
src:
GstAudio
.
AudioSrc
Returns
number
open
open
(
src
:
GstAudio
.
AudioSrc
)
:
boolean
Parameters
src:
GstAudio
.
AudioSrc
Returns
boolean
prepare
prepare
(
src
:
GstAudio
.
AudioSrc
, spec
:
AudioRingBufferSpec
)
:
boolean
Parameters
src:
GstAudio
.
AudioSrc
spec:
AudioRingBufferSpec
Returns
boolean
read
read
(
src
:
GstAudio
.
AudioSrc
, data
:
Uint8Array
)
:
[
number
,
number
]
Parameters
src:
GstAudio
.
AudioSrc
data:
Uint8Array
Returns
[
number
,
number
]
reset
reset
(
src
:
GstAudio
.
AudioSrc
)
:
void
Parameters
src:
GstAudio
.
AudioSrc
Returns
void
unprepare
unprepare
(
src
:
GstAudio
.
AudioSrc
)
:
boolean
Parameters
src:
GstAudio
.
AudioSrc
Returns
boolean
Audio
Src
Class
constructor
parent
Class
name
close
delay
open
prepare
read
reset
unprepare
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHc3RBdWRpb18xXzAuR3N0QXVkaW8uQXVkaW9TcmNDbGFzc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