Socket
Socket
Sign inDemoInstall

github.com/mewkiz/flac

Package Overview
Dependencies
5
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    github.com/mewkiz/flac

Package flac provides access to FLAC (Free Lossless Audio Codec) streams. A brief introduction of the FLAC stream format [1] follows. Each FLAC stream starts with a 32-bit signature ("fLaC"), followed by one or more metadata blocks, and then one or more audio frames. The first metadata block (StreamInfo) describes the basic properties of the audio stream and it is the only mandatory metadata block. Subsequent metadata blocks may appear in an arbitrary order. Please refer to the documentation of the meta [2] and the frame [3] packages for a brief introduction of their respective formats. Note: the Encoder API is experimental until the 1.1.x release. As such, it's API is expected to change.


Version published

Readme

Source

flac

Go build status Coverage Status GoDoc

This package provides access to FLAC (Free Lossless Audio Codec) streams.

Documentation

Documentation provided by GoDoc.

  • flac: provides access to FLAC (Free Lossless Audio Codec) streams.
    • frame: implements access to FLAC audio frames.
    • meta: implements access to FLAC metadata blocks.

Changes

  • Version 1.0.10 (2023-11-11)

    • Add support for LPC audio sample encoding (see #66). Thanks to Mark Kremer for bug fixes and Mattias Wadman for the invaluable fq tool used to investigate FLAC encoding issues.
    • Replace Travis CI with GitHub actions for CI build status, test status and code coverage #64). Thanks to Mark Kremer
  • Version 1.0.9 (2023-10-24)

    • Fix integer overflow during unfolding of rice residual (see #61). Thanks to Mark Kremer.
    • Fix decoding of escaped partition audio samples (see #60). Thanks to Mark Kremer.
    • Handle frame hashing of audio samples with bits-per-sample not evenly divisible by 8 (see 9d50c9e).
  • Version 1.0.8 (2023-04-09)

    • Fix race condition when reading meta data (see #56). Thanks to Zach Orosz.
    • Fix encoding of 8-bps WAV audio samples (see #52). Thanks to Martijn van Beurden.
    • Fix StreamInfo block type error message (see #49).
  • Version 1.0.7 (2021-01-28)

  • Version 1.0.6 (2019-12-20)

    • Add experimental Encoder API to encode audio samples and metadata blocks (see #32).
    • Use go.mod.
    • Skip ID3v2 data prepended to flac files when parsing (see 36cc17e).
    • Add 16kHz test case. Thanks to Chewxy.
    • Fix lint issues (see #25).
  • Version 1.0.5 (2016-05-06)

    • Simplify import paths. Drop use of gopkg.in, and rely on vendoring instead (see azul3d/engine#1).
    • Add FLAC decoding benchmark (see d675e0a)
  • Version 1.0.4 (2016-02-11)

    • Add API examples to documentation (see #11).
    • Extend test cases (see aadf80a).
  • Version 1.0.3 (2016-02-02)

    • Implement decoding of FLAC files with wasted bits-per-sample (see #12).
    • Stress test the library using go-fuzz (see #10). Thanks to Patrick Mézard.
  • Version 1.0.2 (2015-06-05)

  • Version 1.0.1 (2015-02-25)

    • Fix two subframe decoding bugs (see #7). Thanks to Jonathan MacMillan.
    • Add frame decoding test cases.
  • Version 1.0.0 (2014-09-30)

    • Initial release.
    • Implement decoding of FLAC files.

FAQs

Last updated on 11 Nov 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc