GithubHelp home page GithubHelp logo

lame's People

Contributors

ruxton avatar viert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

lame's Issues

Add license

Thanks for library, it's very usefull. Could you please indicate which license is it?

Change license from LGPL

Thank you for resolving my previous issue about license. However, I did a little bit more research and found out that LGPL license is not a good choice for Go library. It's because LGPL doesn't favor static-linking and for Go it's the exact situation, every package is linked statically. By using LGPL for go package you implicitly restrict anybody from re-using your source code.

You can use any kind of license for this wrapper library because you link lame dynamically.

Errors

[ugjka@ArchT dumb-mp3-streamer]$ go get github.com/viert/lame
# github.com/viert/lame
../../viert/lame/lame.go:34: cannot use handle (type *C.struct_lame_global_struct) as type Handle in field value
../../viert/lame/lame.go:40: cannot use e.handle (type Handle) as type *C.struct_lame_global_struct in argument to func literal
../../viert/lame/lame.go:44: cannot use e.handle (type Handle) as type *C.struct_lame_global_struct in argument to func literal
../../viert/lame/lame.go:48: cannot use e.handle (type Handle) as type *C.struct_lame_global_struct in argument to func literal
../../viert/lame/lame.go:52: cannot use e.handle (type Handle) as type *C.struct_lame_global_struct in argument to func literal
../../viert/lame/lame.go:56: cannot use e.handle (type Handle) as type *C.struct_lame_global_struct in argument to func literal
../../viert/lame/lame.go:60: cannot use e.handle (type Handle) as type *C.struct_lame_global_struct in argument to func literal
../../viert/lame/lame.go:65: cannot use e.handle (type Handle) as type *C.struct_lame_global_struct in argument to func literal
../../viert/lame/lame.go:70: cannot use e.handle (type Handle) as type *C.struct_lame_global_struct in argument to func literal
../../viert/lame/lame.go:75: cannot use e.handle (type Handle) as type *C.struct_lame_global_struct in argument to func literal
../../viert/lame/lame.go:75: too many errors

mp3: only MPEG version 1 (want 3; got 2) is supported

I get this error:

mp3: only MPEG version 1 (want 3; got 2) is supported

when trying to decode the result of my mp3 using:

github.com/hajimehoshi/go-mp3

if h.ID() != consts.Version1 {
		return nil, 0, fmt.Errorf("mp3: only MPEG version 1 (want %d; got %d) is supported", consts.Version1, h.ID())

How to use VBR quality constants?

Hello, I'm trying to use VBR quality constants and get absolutely same results:

	e.SetVBR(lame.VBR_MTRH)
	e.SetMode(lame.JOINT_STEREO)
	e.SetVBRQuality(lame.V0)

Results in 18 kb file.

	e.SetVBR(lame.VBR_MTRH)
	e.SetMode(lame.JOINT_STEREO)
	e.SetVBRQuality(lame.V9)

Also results in 18 kb file.

When I execute lame commands:
%s %d -V 0 184 kb
%s %d -V 9 18 kb

Could you please help me out with examples?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.