Merge pull request #13 from hraban/bare-import-path

Update import path to pkg-config style
This commit is contained in:
Hraban Luyat 2017-02-28 01:03:35 +00:00 committed by GitHub
commit 61420e3073
4 changed files with 4 additions and 4 deletions

View file

@ -11,7 +11,7 @@ import (
/*
#cgo pkg-config: opus
#include <opus/opus.h>
#include <opus.h>
*/
import "C"

View file

@ -11,7 +11,7 @@ import (
/*
#cgo pkg-config: opus
#include <opus/opus.h>
#include <opus.h>
int
bridge_encoder_set_dtx(OpusEncoder *st, opus_int32 use_dtx)

View file

@ -10,7 +10,7 @@ import (
/*
#cgo pkg-config: opus opusfile
#include <opus/opus.h>
#include <opus.h>
#include <opusfile.h>
// Access the preprocessor from CGO

View file

@ -7,7 +7,7 @@ package opus
/*
// Link opus using pkg-config.
#cgo pkg-config: opus
#include <opus/opus.h>
#include <opus.h>
// Access the preprocessor from CGO
const int CONST_APPLICATION_VOIP = OPUS_APPLICATION_VOIP;