Commit graph

16 commits

Author SHA1 Message Date
Hraban Luyat f08db0e111 docs: Update copyright notice 2020-07-09 17:23:21 +01:00
Hraban Luyat c490b1f079 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?
2018-03-11 18:37:16 +00:00
Hraban Luyat 6c08ee0d19 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)
2017-02-28 00:56:50 +00:00
Hraban Luyat 941fa898cf Remove obsolete constants 2017-01-11 00:03:01 +00:00
Hraban Luyat d19039546f Update copyright year to 2015-2017. 🎆 2017-01-01 23:36:24 +00:00
Hraban Luyat 88cfa972dc Deprecation comments more noticeable in godoc.org 2016-12-29 14:53:04 +00:00
Hraban Luyat 84e6bd1031 CamelCase Application constants 2016-12-29 12:05:22 +00:00
Hraban Luyat 0fb1b3441e Don't put --static in pkg-config
Didn't work, anyway.
2016-11-02 16:06:30 +00:00
Hraban Luyat 0e63cf1b6c Change copyright headers to refer to AUTHORS file 2016-10-10 15:24:24 +01:00
Hraban Luyat 5a79da6aa8 Update opus link comment 2016-08-22 15:34:16 +01:00
Hraban Luyat 067ec11052 Update copyright period to 2016 2016-08-14 15:10:11 +01:00
Hraban Luyat 3ae552961f Use pkg-config to link opus 2016-08-14 14:44:41 +01:00
Hraban Luyat e4014abb4a Update documentation, remove unused var 2015-07-13 18:36:20 +01:00
Hraban Luyat c692580f07 Access preprocessor defines from CGO
Hack involves assigning the preprocessor defines to const values and
then accessing those through CGO.
2015-07-13 17:15:26 +01:00
Hraban Luyat b568024252 (untested) libopusfile simple decoder API 2015-07-05 20:28:08 +01:00
Hraban Luyat f5a545cd17 Rename api.go to opus.go 2015-07-05 12:51:07 +01:00
Renamed from api.go (Browse further)