Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

electron-celt

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-celt

A fork of node-celt, supporting electron builds

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

node-celt

NodeJS native bindings to libcelt

This module implements bindings for Celt v0.7.0 for Node.js.

celt = require('node-celt');

// Create the encoder.
// Specify 48kHz sampling rate and 10ms frame size.
// NOTE: The decoder must use the same values when decoding the packets.
var rate = 48000;
var frame_size = rate/100;
var encoder = new celt.CeltEncoder( rate );

// Encode and decode.
var encoded = encoder.encode( buffer );
var decoded = encoder.decode( encoded );

Platform support

Supported platforms:

  • Linux x64
  • Linux arm
  • Darwin x64 (mac osx)
  • FreeBSD x64
  • Windows x64

Add new supported platforms by running ./configure in deps/celt-0.7.1 and copying the resulting config.h to deps/config/celt-0.7.1//.

Use the following flags: --enable-static --disable-shared --with-pic

Fork Notes

This fork adds electron build support, compatible with electron-updater.

See the package.json for how the url is composed.

FAQs

Package last updated on 01 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc