Search
Preparing search index...
The search index is not available
play-audio
Options
All
Public
Public/Protected
All
Inherited
Menu
play-audio
OggDemuxer
Class OggDemuxer
Hierarchy
Duplex
OggDemuxer
Index
Constructors
constructor
Properties
ogg_
head
opus_
head
remaining
Methods
_cleanup
_destroy
_final
_read
_write
read
Ogg
Data
read
Ogg
Head
read
Ogg
Page
Constructors
constructor
new
Ogg
Demuxer
(
options
?:
DuplexOptions
)
:
OggDemuxer
Parameters
Optional
options:
DuplexOptions
Returns
OggDemuxer
Properties
Private
Optional
ogg_
head
ogg_
head
?:
OggHeader
Private
Optional
opus_
head
opus_
head
?:
Buffer
Private
Optional
remaining
remaining
?:
Buffer
Methods
_cleanup
_cleanup
(
)
:
void
Returns
void
_destroy
_destroy
(
err
:
null
|
Error
, callback
:
(
error
:
null
|
Error
)
=>
void
)
:
void
Parameters
err:
null
|
Error
callback:
(
error
:
null
|
Error
)
=>
void
(
error
:
null
|
Error
)
:
void
Parameters
error:
null
|
Error
Returns
void
Returns
void
_final
_final
(
callback
:
(
error
?:
Error
)
=>
void
)
:
void
Parameters
callback:
(
error
?:
Error
)
=>
void
(
error
?:
Error
)
:
void
Parameters
Optional
error:
Error
Returns
void
Returns
void
_read
_read
(
)
:
void
Returns
void
_write
_write
(
chunk
:
Buffer
, _
:
BufferEncoding
, done
:
(
error
?:
Error
)
=>
void
)
:
void
Parameters
chunk:
Buffer
_:
BufferEncoding
done:
(
error
?:
Error
)
=>
void
(
error
?:
Error
)
:
void
Parameters
Optional
error:
Error
Returns
void
Returns
void
Private
read
Ogg
Data
read
Ogg
Data
(
chunk
:
Buffer
)
:
ParseResult
Parameters
chunk:
Buffer
Returns
ParseResult
Private
read
Ogg
Head
read
Ogg
Head
(
chunk
:
Buffer
)
:
ParseResult
Parameters
chunk:
Buffer
Returns
ParseResult
Private
read
Ogg
Page
read
Ogg
Page
(
chunk
:
Buffer
)
:
ParseResult
Parameters
chunk:
Buffer
Returns
ParseResult
Exports
<internal>
Ogg
Demuxer
constructor
ogg_
head
opus_
head
remaining
_cleanup
_destroy
_final
_read
_write
read
Ogg
Data
read
Ogg
Head
read
Ogg
Page
Generated using
TypeDoc