Ring
Buffer
Class
constructor
_gst_
reserved
parent_
class
name
acquire
activate
clear_
all
close_
device
commit
delay
open_
device
pause
release
resume
start
stop
GJS API Reference
GstAudio-0.10
GstAudio
RingBufferClass
Class RingBufferClass
The vmethods that subclasses can override to implement the ringbuffer.
record
Hierarchy
RingBufferClass
Index
Constructors
constructor
Properties
_gst_
reserved
parent_
class
name
Methods
acquire
activate
clear_
all
close_
device
commit
delay
open_
device
pause
release
resume
start
stop
Constructors
constructor
new
Ring
Buffer
Class
(
)
:
RingBufferClass
Returns
RingBufferClass
Properties
_gst_
reserved
_gst_
reserved
:
object
[]
parent_
class
parent_
class
:
Gst
.
ObjectClass
Static
name
name
:
string
Methods
acquire
acquire
(
buf
:
RingBuffer
, spec
:
RingBufferSpec
)
:
boolean
Parameters
buf:
RingBuffer
spec:
RingBufferSpec
Returns
boolean
activate
activate
(
buf
:
RingBuffer
, active
:
boolean
)
:
boolean
Parameters
buf:
RingBuffer
active:
boolean
Returns
boolean
clear_
all
clear_
all
(
buf
:
RingBuffer
)
:
void
Parameters
buf:
RingBuffer
Returns
void
close_
device
close_
device
(
buf
:
RingBuffer
)
:
boolean
Parameters
buf:
RingBuffer
Returns
boolean
commit
commit
(
buf
:
RingBuffer
, sample
:
number
, data
:
number
, in_samples
:
number
, out_samples
:
number
, accum
:
number
)
:
number
Parameters
buf:
RingBuffer
sample:
number
data:
number
in_samples:
number
out_samples:
number
accum:
number
Returns
number
delay
delay
(
buf
:
RingBuffer
)
:
number
Parameters
buf:
RingBuffer
Returns
number
open_
device
open_
device
(
buf
:
RingBuffer
)
:
boolean
Parameters
buf:
RingBuffer
Returns
boolean
pause
pause
(
buf
:
RingBuffer
)
:
boolean
Parameters
buf:
RingBuffer
Returns
boolean
release
release
(
buf
:
RingBuffer
)
:
boolean
Parameters
buf:
RingBuffer
Returns
boolean
resume
resume
(
buf
:
RingBuffer
)
:
boolean
Parameters
buf:
RingBuffer
Returns
boolean
start
start
(
buf
:
RingBuffer
)
:
boolean
Parameters
buf:
RingBuffer
Returns
boolean
stop
stop
(
buf
:
RingBuffer
)
:
boolean
Parameters
buf:
RingBuffer
Returns
boolean
Ring
Buffer
Class
constructor
_gst_
reserved
parent_
class
name
acquire
activate
clear_
all
close_
device
commit
delay
open_
device
pause
release
resume
start
stop
base64:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHc3RBdWRpb18wXzEwLkdzdEF1ZGlvLlJpbmdCdWZmZXJDbGFzcy5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVmIjoiR3N0QXVkaW9fMF8xMC5Hc3RBdWRpby5SaW5nQnVmZmVyQ2xhc3MuaHRtbCNfZ3N0X3Jlc2VydmVkIiwibmFtZSI6Il9nc3RfcmVzZXJ2ZWQiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHc3RBdWRpb18wXzEwLkdzdEF1ZGlvLlJpbmdCdWZmZXJDbGFzcy5odG1sI3BhcmVudF9jbGFzcyIsIm5hbWUiOiJwYXJlbnRfY2xhc3MiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyB0c2QtaXMtc3RhdGljIiwiaHJ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