Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpusEncoder ¶
type OpusEncoder struct {
// contains filtered or unexported fields
}
OpusEncoder structure to hold the Opus encoder for each VU.
type PCMToOpus ¶
type PCMToOpus struct{}
PCMToOpus type will expose the methods for the plugin.
func (*PCMToOpus) NewEncoder ¶
func (p *PCMToOpus) NewEncoder(sampleRate int, channels int, application opus.Application) (*OpusEncoder, error)
NewEncoder initializes a new Opus encoder.
type RootModule ¶
type RootModule struct{}
RootModule is the module's root type.
func (*RootModule) New ¶
func (r *RootModule) New() interface{}
New creates a new instance of the module, exposing its functionality to the JS runtime.
Click to show internal directories.
Click to hide internal directories.