]> Sergey Matveev's repositories - go-opus.git/log
go-opus.git
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

9 years agoUpdate dependency build directory for cgo
Hraban Luyat [Sun, 5 Jul 2015 10:56:49 +0000 (11:56 +0100)]
Update dependency build directory for cgo

9 years agoDon't delete submodule autogen.sh on make error
Hraban Luyat [Sun, 5 Jul 2015 10:52:36 +0000 (11:52 +0100)]
Don't delete submodule autogen.sh on make error

9 years agoBuild rules for libopusfile
Hraban Luyat [Sun, 5 Jul 2015 10:43:44 +0000 (10:43 +0000)]
Build rules for libopusfile

9 years agoLibopusfile submodule
Hraban Luyat [Sun, 5 Jul 2015 10:43:32 +0000 (10:43 +0000)]
Libopusfile submodule

9 years ago(minor) docs and formatting
Hraban Luyat [Sat, 13 Jun 2015 15:01:45 +0000 (15:01 +0000)]
(minor) docs and formatting

10 years agoexplicitly mention package is not made by xiph.org
Hraban Luyat [Mon, 9 Mar 2015 12:34:04 +0000 (12:34 +0000)]
explicitly mention package is not made by xiph.org

to avoid confusion

10 years agoMIT license
Hraban Luyat [Mon, 9 Mar 2015 12:31:24 +0000 (12:31 +0000)]
MIT license

10 years agoShort readme with build instructions
Hraban Luyat [Mon, 9 Mar 2015 12:29:06 +0000 (12:29 +0000)]
Short readme with build instructions

10 years agoMore samples in encode/decode unit test
Hraban Luyat [Sun, 8 Mar 2015 22:48:22 +0000 (22:48 +0000)]
More samples in encode/decode unit test

10 years agoTest encoding / decoding API
Hraban Luyat [Sun, 8 Mar 2015 21:25:38 +0000 (21:25 +0000)]
Test encoding / decoding API

Doesn't test the round trip signal, just that no errors were returned.

10 years ago-o parameter to go build makes no sense here
Hraban Luyat [Sun, 22 Feb 2015 10:11:12 +0000 (10:11 +0000)]
-o parameter to go build makes no sense here

10 years agoDon't crash when passing empty array
Hraban Luyat [Sat, 21 Feb 2015 04:13:56 +0000 (04:13 +0000)]
Don't crash when passing empty array

Taking the pointer of an array underlying an empty slice is an error in
go: &ar[0] tries to resolve ar[0], which is out of bounds. Not pretty,
but it makes sense.

10 years agoFix error reporting in DecodeFloat32()
Hraban Luyat [Sat, 21 Feb 2015 03:53:24 +0000 (03:53 +0000)]
Fix error reporting in DecodeFloat32()

10 years agoChange build parameters
Hraban Luyat [Thu, 19 Feb 2015 12:38:49 +0000 (12:38 +0000)]
Change build parameters

10 years agoBare API wrapper: encode & decode floats
Hraban Luyat [Thu, 19 Feb 2015 00:51:09 +0000 (00:51 +0000)]
Bare API wrapper: encode & decode floats

10 years agoPoC: getVersion works, + unit tests
Hraban Luyat [Wed, 18 Feb 2015 23:50:17 +0000 (23:50 +0000)]
PoC: getVersion works, + unit tests

10 years agoSubmodule libopus (official C libs from Xiph)
Hraban Luyat [Wed, 18 Feb 2015 16:50:39 +0000 (16:50 +0000)]
Submodule libopus (official C libs from Xiph)