]> Sergey Matveev's repositories - go-opus.git/log
go-opus.git
8 years agoREADME: v2 import syntax
Hraban Luyat [Wed, 11 Jan 2017 00:09:38 +0000 (00:09 +0000)]
README: v2 import syntax

8 years agoClearer function names for SetBitrateTo*()
Hraban Luyat [Wed, 11 Jan 2017 00:05:02 +0000 (00:05 +0000)]
Clearer function names for SetBitrateTo*()

There is also a MaxBitrate property; once implemented that would become
SetMaxBitrate(). Too confusing to also have SetBitrateMax(). The extra
To hopefully helps disambiguate.

8 years agoRemove obsolete constants
Hraban Luyat [Wed, 11 Jan 2017 00:03:01 +0000 (00:03 +0000)]
Remove obsolete constants

8 years agoMerge commit '39af50e' into v2
Hraban Luyat [Wed, 11 Jan 2017 00:01:16 +0000 (00:01 +0000)]
Merge commit '39af50e' into v2

8 years agoREADME: camelCase
Hraban Luyat [Fri, 6 Jan 2017 22:10:15 +0000 (22:10 +0000)]
README: camelCase

8 years agoUpdate copyright year to 2015-2017. 🎆
Hraban Luyat [Sun, 1 Jan 2017 23:35:30 +0000 (23:35 +0000)]
Update copyright year to 2015-2017. ðŸŽ†

8 years agoBREAKING: UseDTX -> SetDTX
Hraban Luyat [Fri, 30 Dec 2016 22:54:41 +0000 (22:54 +0000)]
BREAKING: UseDTX -> SetDTX

8 years agoBREAKING: Return error vals in encoder CTL API
Hraban Luyat [Fri, 30 Dec 2016 22:49:17 +0000 (22:49 +0000)]
BREAKING: Return error vals in encoder CTL API

Wasn't right to ignore these

8 years agoNo local var in bridge functions
Hraban Luyat [Fri, 30 Dec 2016 22:32:09 +0000 (22:32 +0000)]
No local var in bridge functions

8 years agoWoops fix tests. Thanks Travis.
Hraban Luyat [Fri, 30 Dec 2016 19:32:33 +0000 (19:32 +0000)]
Woops fix tests. Thanks Travis.

8 years agoConsistency in bandwidth constant names
Hraban Luyat [Fri, 30 Dec 2016 19:26:39 +0000 (19:26 +0000)]
Consistency in bandwidth constant names

8 years agoExplain licensing in AUTHORS file
Hraban Luyat [Fri, 30 Dec 2016 19:22:14 +0000 (19:22 +0000)]
Explain licensing in AUTHORS file

8 years agoMerge pull request #10 from dh1tw/master
Hraban Luyat [Fri, 30 Dec 2016 19:20:16 +0000 (19:20 +0000)]
Merge pull request #10 from dh1tw/master

New encoder controls: Bitrate, Bandwidth and Complexity.

Fixes #6 .

8 years agofixed typos
dh1tw [Fri, 30 Dec 2016 18:46:26 +0000 (19:46 +0100)]
fixed typos

8 years agoreverted to using types for enums; added SetBitrateMax and SetBitrateAuto
dh1tw [Fri, 30 Dec 2016 17:55:25 +0000 (18:55 +0100)]
reverted to using types for enums; added SetBitrateMax and SetBitrateAuto

8 years agochecking also error string
dh1tw [Fri, 30 Dec 2016 15:06:27 +0000 (16:06 +0100)]
checking also error string

8 years agoadded new encoder methods & tests
dh1tw [Fri, 30 Dec 2016 14:57:37 +0000 (15:57 +0100)]
added new encoder methods & tests

8 years agoDeprecation comments more noticeable in godoc.org
Hraban Luyat [Thu, 29 Dec 2016 14:53:04 +0000 (14:53 +0000)]
Deprecation comments more noticeable in godoc.org

8 years agoMerge pull request #7 from hraban/bfitzfeedback
Hraban Luyat [Thu, 29 Dec 2016 14:46:03 +0000 (14:46 +0000)]
Merge pull request #7 from hraban/bfitzfeedback

Brad Fitzpatrick feedback on naming

8 years agoExplicit about when deprecated names are removed
Hraban Luyat [Thu, 29 Dec 2016 12:30:29 +0000 (12:30 +0000)]
Explicit about when deprecated names are removed

8 years agoUse new error var names in tests
Hraban Luyat [Thu, 29 Dec 2016 12:25:40 +0000 (12:25 +0000)]
Use new error var names in tests

8 years agoCamelCase Application constants
Hraban Luyat [Thu, 29 Dec 2016 12:05:22 +0000 (12:05 +0000)]
CamelCase Application constants

8 years agoExport error type, CamelCase error names
Hraban Luyat [Thu, 29 Dec 2016 11:58:57 +0000 (11:58 +0000)]
Export error type, CamelCase error names

8 years agoREADME: debian package names for non-dev
Hraban Luyat [Thu, 29 Dec 2016 00:28:31 +0000 (00:28 +0000)]
README: debian package names for non-dev

8 years agoREADME: How to use in dockerized app
Hraban Luyat [Mon, 26 Dec 2016 15:30:14 +0000 (15:30 +0000)]
README: How to use in dockerized app

8 years agos/obvious/cleaner/
Hraban Luyat [Wed, 2 Nov 2016 16:08:37 +0000 (16:08 +0000)]
s/obvious/cleaner/

8 years agoDon't put --static in pkg-config
Hraban Luyat [Wed, 2 Nov 2016 16:06:30 +0000 (16:06 +0000)]
Don't put --static in pkg-config

Didn't work, anyway.

8 years agoDynamic linking explanation
Hraban Luyat [Wed, 2 Nov 2016 16:05:51 +0000 (16:05 +0000)]
Dynamic linking explanation

8 years agoClearer intro in README
Hraban Luyat [Thu, 27 Oct 2016 16:06:55 +0000 (17:06 +0100)]
Clearer intro in README

8 years agoOgg, not Vorbis. :)
Hraban Luyat [Thu, 27 Oct 2016 15:54:43 +0000 (16:54 +0100)]
Ogg, not Vorbis. :)

8 years agoMerge remote-tracking branch 'refs/remotes/origin/master'
Hraban Luyat [Thu, 27 Oct 2016 15:40:30 +0000 (16:40 +0100)]
Merge remote-tracking branch 'refs/remotes/origin/master'

8 years agoNote (without example) about Stream in README
Hraban Luyat [Thu, 27 Oct 2016 15:39:39 +0000 (16:39 +0100)]
Note (without example) about Stream in README

8 years agoTravis-CI build status image in README
Hraban Luyat [Fri, 14 Oct 2016 13:20:32 +0000 (14:20 +0100)]
Travis-CI build status image in README

8 years agoREADME: Correct frame size for stereo decoding
Hraban Luyat [Mon, 10 Oct 2016 15:39:18 +0000 (16:39 +0100)]
README: Correct frame size for stereo decoding

8 years agoUpdate README with stereo vs mono
Hraban Luyat [Mon, 10 Oct 2016 15:35:39 +0000 (16:35 +0100)]
Update README with stereo vs mono

8 years agoUnit test for stereo sound
Hraban Luyat [Mon, 10 Oct 2016 15:18:03 +0000 (16:18 +0100)]
Unit test for stereo sound

8 years agoChange copyright headers to refer to AUTHORS file
Hraban Luyat [Mon, 10 Oct 2016 14:24:24 +0000 (15:24 +0100)]
Change copyright headers to refer to AUTHORS file

8 years agoReorganize test code
Hraban Luyat [Mon, 10 Oct 2016 14:21:54 +0000 (15:21 +0100)]
Reorganize test code

8 years agoFix pkg-config name for opusfile related source
Hraban Luyat [Mon, 10 Oct 2016 14:16:49 +0000 (15:16 +0100)]
Fix pkg-config name for opusfile related source

Stream.go is the wrapper around libopusfile, not libopus.

8 years agoMake opus errors wrapped ints, expose names
Hraban Luyat [Mon, 10 Oct 2016 13:18:10 +0000 (14:18 +0100)]
Make opus errors wrapped ints, expose names

Allows comparing error values by value instead of just by human readable
string.

8 years agoREADME headers
Hraban Luyat [Fri, 9 Sep 2016 22:58:23 +0000 (23:58 +0100)]
README headers

8 years agoElaborate on stream comment
Hraban Luyat [Fri, 2 Sep 2016 10:38:03 +0000 (11:38 +0100)]
Elaborate on stream comment

8 years agoGodoc for stream functions
Hraban Luyat [Fri, 2 Sep 2016 10:32:35 +0000 (11:32 +0100)]
Godoc for stream functions

8 years agoDocumentation for public encoder methods
Hraban Luyat [Tue, 30 Aug 2016 16:50:19 +0000 (17:50 +0100)]
Documentation for public encoder methods

8 years agoEncoder.SampleRate() method reports sample rate
Hraban Luyat [Tue, 30 Aug 2016 16:47:52 +0000 (17:47 +0100)]
Encoder.SampleRate() method reports sample rate

8 years agoRename GetDTX() to DTX() (more go-like)
Hraban Luyat [Tue, 30 Aug 2016 16:28:04 +0000 (17:28 +0100)]
Rename GetDTX() to DTX() (more go-like)

Breaks the API :/ doing it sooner rather than later to avoid impacting
too many people.

Sorry though!

8 years agoGo error in readme
Hraban Luyat [Tue, 30 Aug 2016 16:17:18 +0000 (17:17 +0100)]
Go error in readme

8 years agoExamples in README
Hraban Luyat [Tue, 30 Aug 2016 16:15:18 +0000 (17:15 +0100)]
Examples in README

8 years agoAdd authors notice to LICENSE file
Hraban Luyat [Mon, 29 Aug 2016 13:04:54 +0000 (14:04 +0100)]
Add authors notice to LICENSE file

8 years agoAdd Xu as author for relevant files
Hraban Luyat [Mon, 29 Aug 2016 13:00:53 +0000 (14:00 +0100)]
Add Xu as author for relevant files

8 years agoSetter and getter API for DTX on encoders
Dejian Xu [Mon, 29 Aug 2016 12:53:18 +0000 (20:53 +0800)]
Setter and getter API for DTX on encoders

Go-style DTX setter and getter api on the encoder.

PR hraban/opus#4

8 years agoUpgrade travis to go 1.7
Hraban Luyat [Mon, 22 Aug 2016 14:54:11 +0000 (15:54 +0100)]
Upgrade travis to go 1.7

8 years agoUpdate opus link comment
Hraban Luyat [Mon, 22 Aug 2016 14:34:16 +0000 (15:34 +0100)]
Update opus link comment

8 years agoMove callbacks struct to C allocator, to be safe
Hraban Luyat [Mon, 22 Aug 2016 14:11:13 +0000 (15:11 +0100)]
Move callbacks struct to C allocator, to be safe

I'm not sure if the Go pointer proposal has already been implemented,
but under the proposed restrictions allocating the callback struct in Go
and passing that pointer to a C function which keeps it after returning
is not allowed.

This patch allocates the struct in C and passes the pointer from Go to
C, which is fine.

8 years agoCopyright notice in all files
Hraban Luyat [Sun, 14 Aug 2016 22:33:23 +0000 (23:33 +0100)]
Copyright notice in all files

8 years agoTravis CI (#3)
Hraban Luyat [Sun, 14 Aug 2016 22:31:03 +0000 (23:31 +0100)]
Travis CI (#3)

Travis-CI

go1.6, ubuntu trusty.

8 years agoRemove obsolete makefile
Hraban Luyat [Sun, 14 Aug 2016 14:20:15 +0000 (15:20 +0100)]
Remove obsolete makefile

8 years agoUpdate .gitignore (no more manual build noise)
Hraban Luyat [Sun, 14 Aug 2016 14:10:35 +0000 (15:10 +0100)]
Update .gitignore (no more manual build noise)

8 years agoUpdate copyright period to 2016
Hraban Luyat [Sun, 14 Aug 2016 14:10:11 +0000 (15:10 +0100)]
Update copyright period to 2016

8 years agoMerge pull request #2 from hraban/pkg-config
Hraban Luyat [Sun, 14 Aug 2016 14:07:00 +0000 (15:07 +0100)]
Merge pull request #2 from hraban/pkg-config

pkg-config

8 years agoUpdate README to reflect pkg-config use.
Hraban Luyat [Sun, 14 Aug 2016 14:05:38 +0000 (15:05 +0100)]
Update README to reflect pkg-config use.

8 years agoRemove opus submodules
Hraban Luyat [Sun, 14 Aug 2016 13:47:16 +0000 (14:47 +0100)]
Remove opus submodules

8 years agoUse pkg-config to link opus
Hraban Luyat [Fri, 26 Feb 2016 17:27:41 +0000 (17:27 +0000)]
Use pkg-config to link opus

8 years agoFix go pointers to CGo (go 1.6)
Hraban Luyat [Sun, 14 Aug 2016 12:26:17 +0000 (13:26 +0100)]
Fix go pointers to CGo (go 1.6)

8 years agoList dependencies in README
Hraban Luyat [Sun, 14 Aug 2016 10:44:48 +0000 (11:44 +0100)]
List dependencies in README

9 years agoLet user pass the target buffers (noalloc)
Hraban Luyat [Wed, 22 Jul 2015 05:52:38 +0000 (06:52 +0100)]
Let user pass the target buffers (noalloc)

9 years agoBetter doc for Init vs New
Hraban Luyat [Mon, 13 Jul 2015 22:37:59 +0000 (23:37 +0100)]
Better doc for Init vs New

9 years agoSimplify CGO callback chain
Hraban Luyat [Mon, 13 Jul 2015 21:56:08 +0000 (22:56 +0100)]
Simplify CGO callback chain

9 years agoMerge remote-tracking branch 'vps/master'
Hraban Luyat [Mon, 13 Jul 2015 21:47:22 +0000 (22:47 +0100)]
Merge remote-tracking branch 'vps/master'

9 years agoUpdate documentation, remove unused var
Hraban Luyat [Mon, 13 Jul 2015 17:36:20 +0000 (18:36 +0100)]
Update documentation, remove unused var

9 years agoAccess preprocessor defines from CGO
Hraban Luyat [Mon, 13 Jul 2015 16:15:26 +0000 (17:15 +0100)]
Access preprocessor defines from CGO

Hack involves assigning the preprocessor defines to const values and
then accessing those through CGO.

9 years ago #include own header file in proxy .c file
Hraban Luyat [Sun, 12 Jul 2015 19:45:29 +0000 (19:45 +0000)]
 #include own header file in proxy .c file

9 years agoCompare pre-decoded wav with decoded opus data
Hraban Luyat [Sun, 12 Jul 2015 11:08:13 +0000 (11:08 +0000)]
Compare pre-decoded wav with decoded opus data

9 years agoRefactoring the tests, wip (but passing)
Hraban Luyat [Sun, 12 Jul 2015 10:22:25 +0000 (10:22 +0000)]
Refactoring the tests, wip (but passing)

9 years agoTest opus stream .Close method
Hraban Luyat [Sun, 12 Jul 2015 09:40:25 +0000 (09:40 +0000)]
Test opus stream .Close method

9 years agoFlush last good bytes before returning EOF
Hraban Luyat [Sat, 11 Jul 2015 05:59:28 +0000 (05:59 +0000)]
Flush last good bytes before returning EOF

9 years agoTest opus stream with small buffer
Hraban Luyat [Thu, 9 Jul 2015 16:48:18 +0000 (17:48 +0100)]
Test opus stream with small buffer

9 years agoBetter names for stream unit tests
Hraban Luyat [Thu, 9 Jul 2015 16:38:02 +0000 (16:38 +0000)]
Better names for stream unit tests

9 years agoTest real Opus file
Hraban Luyat [Thu, 9 Jul 2015 16:36:30 +0000 (16:36 +0000)]
Test real Opus file

9 years agoElaborate docs for Read functions
Hraban Luyat [Thu, 9 Jul 2015 13:34:52 +0000 (13:34 +0000)]
Elaborate docs for Read functions

9 years agoMerge remote-tracking branch 'origin/master'
Hraban Luyat [Thu, 9 Jul 2015 12:29:03 +0000 (12:29 +0000)]
Merge remote-tracking branch 'origin/master'

9 years agoClose readers if they implement io.Closer
Hraban Luyat [Thu, 9 Jul 2015 12:28:38 +0000 (12:28 +0000)]
Close readers if they implement io.Closer

9 years agoSet the callback buffer before it is invoked
Hraban Luyat [Thu, 9 Jul 2015 12:27:32 +0000 (13:27 +0100)]
Set the callback buffer before it is invoked

9 years agofloat routines for stream reader
Hraban Luyat [Sun, 5 Jul 2015 20:07:29 +0000 (21:07 +0100)]
float routines for stream reader

9 years ago.gitignore build directory
Hraban Luyat [Sun, 5 Jul 2015 20:04:03 +0000 (21:04 +0100)]
.gitignore build directory

9 years agoChange stream reader API to look like io.Reader
Hraban Luyat [Sun, 5 Jul 2015 20:03:21 +0000 (21:03 +0100)]
Change stream reader API to look like io.Reader

9 years agoClose routine for opus stream
Hraban Luyat [Sun, 5 Jul 2015 19:33:27 +0000 (20:33 +0100)]
Close routine for opus stream

9 years ago.gitignore libopusfile.a
Hraban Luyat [Sun, 5 Jul 2015 19:28:39 +0000 (20:28 +0100)]
.gitignore libopusfile.a

9 years ago(untested) libopusfile simple decoder API
Hraban Luyat [Sun, 5 Jul 2015 19:28:08 +0000 (20:28 +0100)]
(untested) libopusfile simple decoder API

9 years agoExtra note in README about installation
Hraban Luyat [Sun, 5 Jul 2015 14:01:20 +0000 (15:01 +0100)]
Extra note in README about installation

9 years ago.Init method for preallocated codecs
Hraban Luyat [Sun, 5 Jul 2015 13:42:05 +0000 (14:42 +0100)]
.Init method for preallocated codecs

9 years agoLet Go GC manage the codec memory
Hraban Luyat [Sun, 5 Jul 2015 13:23:15 +0000 (14:23 +0100)]
Let Go GC manage the codec memory

No need to manually free memory anymore

9 years agoTypo in readme
Hraban Luyat [Sun, 5 Jul 2015 13:01:58 +0000 (14:01 +0100)]
Typo in readme

9 years agofix link in README
Hraban Luyat [Sun, 5 Jul 2015 11:53:12 +0000 (12:53 +0100)]
fix link in README

9 years agoRename api.go to opus.go
Hraban Luyat [Sun, 5 Jul 2015 11:51:07 +0000 (12:51 +0100)]
Rename api.go to opus.go

9 years agoFurther edits to README
Hraban Luyat [Sun, 5 Jul 2015 11:49:49 +0000 (12:49 +0100)]
Further edits to README

9 years agoUpdate README
Hraban Luyat [Sun, 5 Jul 2015 11:47:14 +0000 (12:47 +0100)]
Update README

9 years agoUnit test for opus error string
Hraban Luyat [Sun, 5 Jul 2015 11:35:02 +0000 (12:35 +0100)]
Unit test for opus error string

9 years agoAdd 16 bit codec apis
Hraban Luyat [Sun, 5 Jul 2015 11:27:01 +0000 (12:27 +0100)]
Add 16 bit codec apis

9 years agoRelated code in separate files
Hraban Luyat [Sun, 5 Jul 2015 11:15:17 +0000 (12:15 +0100)]
Related code in separate files