New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/repl-it-discord/audio

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/repl-it-discord/audio

  • v1.1.6
  • Source
  • Go
  • Socket score

Version published
Created
Source

Repl.it audio bindings bundle.

This package includes the go bindings and static library files needed for audio at repl.it.

Credits go to:

  • libsamplerate for the C library.
  • opus for opus support
  • opusfile For opus file decoding
  • libogg Required to build opus and used in the go bindings.
  • OpenSSL Not included but is used to build opus.
  • gosamplerate go bindings for libsamplerate. (modified to use CFLAGS and LDFLAGS instead of pkg-config, and to take the output buffer size as an argument to NewSource rather than setting it to the input buffer size)
  • opus (the go bindings, not opus itself): Bindings for libopus. (modified to use CFLAGS and LDFLAGS in place of pkg-config)
  • this stackoverflow answer which includes a short c script used to static link libm.a without libc. They borrowed it from here

Contributing

For new file support, we need the following:

  • Abillity to find file/decoder samplerate (or a static samplerate).
  • Abillity to get channel count of the decoder (or a static channel count).
  • Abillity to read into a pcm buffer (Format can be whatever, we just need to know what the format is).
  • Go bindings for the library.
  • Static .a library, not .so files.
  • Sources must be cited.
  • If there is a pure-go version of the library just send a request for that file format over at https://repl.it/feedback, this is just for bundling c libraries with go bindings.

Note that this is not where you should report issues for audio at repl.it, instead report at https://repl.it/bugs/

FAQs

Package last updated on 16 Jul 2020

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