alac-go

Package alac provides Go bindings for ALAC decoder (C version by David Hammerton) with community patches.

  • Owner: xlab/alac-go
  • Platform:
  • License::
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

alac-go

The package provides Go bindings for ALAC decoder (C version by David Hammerton) with community patches.
All the binding code has automatically been generated with rules defined in alac.yml.

Usage

$ go get github.com/xlab/alac-go/alac

Demo

There is a player implemented in Go that can read M4A ALAC files and play them via portaudio-go. So you will need to get portaudio installed first. 03-Morcheeba-Otherwise.m4a direct link.

$ brew install portaudio
$ go get github.com/xlab/alac-go/cmd/alac-player

$ ./alac-player 03-Morcheeba-Otherwise.m4a
ALAC header: 616C616300000000000010000010280A0E0200FF000034DF000DBCB40000AC44
Audio duration: 224.026s
[==>-----------------------------------------------------------------------------------------------------------------] 2.20 %

Rebuilding the package

You will need to get the c-for-go tool installed first.

$ git clone https://github.com/xlab/alac-go && cd alac-go
$ make clean
$ make

Main metrics

Overview
Name With Ownerxlab/alac-go
Primary LanguageC
Program languageMakefile (Language Count: 3)
Platform
License:
所有者活动
Created At2016-01-06 02:37:50
Pushed At2017-09-05 16:47:27
Last Commit At2017-09-05 19:47:18
Release Count0
用户参与
Stargazers Count5
Watchers Count3
Fork Count2
Commits Count14
Has Issues Enabled
Issues Count0
Issue Open Count0
Pull Requests Count0
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private