Audio
Src
Class
constructor
parent_
class
name
close
delay
open
prepare
read
reset
unprepare
GJS 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:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHc3RBdWRpb18xXzAuR3N0QXVkaW8uQXVkaW9TcmNDbGFzcy5odG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