]> Sergey Matveev's repositories - go-opus.git/log
go-opus.git
7 years ago(Set)InBandFEC - set and return bool instead of int
elinor [Mon, 2 Apr 2018 10:31:07 +0000 (13:31 +0300)]
(Set)InBandFEC - set and return bool instead of int

7 years agoAdded myself to autthors
elinor [Mon, 26 Mar 2018 07:42:45 +0000 (10:42 +0300)]
Added myself to autthors

7 years agoAdded decodeFECFloat32 + test
elinor [Mon, 26 Mar 2018 07:39:25 +0000 (10:39 +0300)]
Added decodeFECFloat32 + test

7 years agoAdded decode with fec + test
elinor [Mon, 26 Mar 2018 07:33:31 +0000 (10:33 +0300)]
Added decode with fec + test

7 years agoAdded get last packet duration in decoder ctls
elinor [Mon, 26 Mar 2018 04:54:20 +0000 (07:54 +0300)]
Added get last packet duration in decoder ctls

7 years agoAdded packet loss and inband fec encoder ctls
elinor [Mon, 26 Mar 2018 04:40:41 +0000 (07:40 +0300)]
Added packet loss and inband fec encoder  ctls

7 years agoErr vars declared const, direct from preprocessor
Hraban Luyat [Sun, 11 Mar 2018 18:45:21 +0000 (18:45 +0000)]
Err vars declared const, direct from preprocessor

Same as previous commit c490b1f

7 years agoDirectly access preprocessor directives
Hraban Luyat [Sun, 11 Mar 2018 18:37:16 +0000 (18:37 +0000)]
Directly access preprocessor directives

Closes issue hraban/opus#9. To be honest I'm not 100% why I didn't do it
this way in the first place. Three years have passed, something was
probably fixed in CGo, or maybe I was just wrong about this not being
possible, all along. Either way, it works on my machine, so that's all
the testing you need to do, right?

7 years agoFix string format error in test
Hraban Luyat [Sun, 11 Mar 2018 18:36:44 +0000 (18:36 +0000)]
Fix string format error in test

7 years agoMerge pull request #14 from DocMerlin/patch-1
Hraban Luyat [Mon, 31 Jul 2017 08:08:58 +0000 (09:08 +0100)]
Merge pull request #14 from DocMerlin/patch-1

Fix comment typo.

7 years agoFix comment typo.
DocMerlin [Mon, 31 Jul 2017 04:50:19 +0000 (23:50 -0500)]
Fix comment typo.

Fixes a comment typo

7 years agoREADME: clarify stereo vs mono in decoding api
Hraban Luyat [Sun, 23 Jul 2017 22:37:53 +0000 (23:37 +0100)]
README: clarify stereo vs mono in decoding api

7 years agoREADME: Example for file & stream handling
Hraban Luyat [Fri, 19 May 2017 21:39:16 +0000 (22:39 +0100)]
README: Example for file & stream handling

8 years agoMerge pull request #13 from hraban/bare-import-path
Hraban Luyat [Tue, 28 Feb 2017 01:03:35 +0000 (01:03 +0000)]
Merge pull request #13 from hraban/bare-import-path

Update import path to pkg-config style

8 years agoUpdate import path to pkg-config style
Hraban Luyat [Tue, 28 Feb 2017 00:56:11 +0000 (00:56 +0000)]
Update import path to pkg-config style

pkg-config --cflags always puts you in the opus/ directory where opus.h
directly lives. No need to prefix with opus/. That just happened to work
because it was symlinked into /usr/include/opus, but we don't need to
rely on that now that we're using pkg-config.

Based on Tobias Wellnitz's comment (hraban/opus#12)

8 years agoUpdate godoc links to gopkg.in...v2
Hraban Luyat [Wed, 11 Jan 2017 12:55:08 +0000 (12:55 +0000)]
Update godoc links to gopkg.in...v2

8 years agoUpdate godoc on updated method names
Hraban Luyat [Wed, 11 Jan 2017 00:46:08 +0000 (00:46 +0000)]
Update godoc on updated method names

8 years agoV2 released, remove warning from README
Hraban Luyat [Wed, 11 Jan 2017 00:36:32 +0000 (00:36 +0000)]
V2 released, remove warning from README

8 years agoVersion 2
Hraban Luyat [Wed, 11 Jan 2017 00:34:46 +0000 (00:34 +0000)]
Version 2

Breaking changes (improvements ðŸ™‚) to the API.

8 years agoUpdate all copyright to 2017
Hraban Luyat [Wed, 11 Jan 2017 00:33:51 +0000 (00:33 +0000)]
Update all copyright to 2017

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