Ring
Buffer
Class
constructor
gst
Reserved
parent
Class
name
acquire
activate
clear
All
close
Device
commit
delay
open
Device
pause
release
resume
start
stop
NODE-GTK 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
, inSamples
:
number
, outSamples
:
number
, accum
:
number
)
:
number
Parameters
buf:
RingBuffer
sample:
number
data:
number
inSamples:
number
outSamples:
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:eyJwYWdlTmF2aWdhdGlvbiI6W3siY2xhc3NOYW1lcyI6InRzZC1raW5kLWNvbnN0cnVjdG9yIHRzZC1wYXJlbnQta2luZC1jbGFzcyIsImhyZWYiOiJHc3RBdWRpb18wXzEwLkdzdEF1ZGlvLlJpbmdCdWZmZXJDbGFzcy5odG1sI2NvbnN0cnVjdG9yIiwibmFtZSI6ImNvbnN0cnVjdG9yIiwiY2hpbGRyZW4iOltdLCJpc0V4dGVybiI6ZmFsc2UsImlzSW50ZXJuIjp0cnVlfSx7ImNsYXNzTmFtZXMiOiJ0c2Qta2luZC1wcm9wZXJ0eSB0c2QtcGFyZW50LWtpbmQtY2xhc3MiLCJocmVmIjoiR3N0QXVkaW9fMF8xMC5Hc3RBdWRpby5SaW5nQnVmZmVyQ2xhc3MuaHRtbCNnc3RSZXNlcnZlZCIsIm5hbWUiOiJnc3RSZXNlcnZlZCIsImNoaWxkcmVuIjpbXSwiaXNFeHRlcm4iOmZhbHNlLCJpc0ludGVybiI6dHJ1ZX0seyJjbGFzc05hbWVzIjoidHNkLWtpbmQtcHJvcGVydHkgdHNkLXBhcmVudC1raW5kLWNsYXNzIiwiaHJlZiI6IkdzdEF1ZGlvXzBfMTAuR3N0QXVkaW8uUmluZ0J1ZmZlckNsYXNzLmh0bWwjcGFyZW50Q2xhc3MiLCJuYW1lIjoicGFyZW50Q2xhc3MiLCJjaGlsZHJlbiI6W10sImlzRXh0ZXJuIjpmYWxzZSwiaXNJbnRlcm4iOnRydWV9LHsiY2xhc3NOYW1lcyI6InRzZC1raW5kLXByb3BlcnR5IHRzZC1wYXJlbnQta2luZC1jbGFzcyB0c2QtaXMtc3RhdGljIiwiaHJlZiI6IkdzdEF1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