Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Opus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexander Traud
Opus
Commits
619a9681
Commit
619a9681
authored
15 years ago
by
Jean-Marc Valin
Browse files
Options
Downloads
Patches
Plain Diff
Misc changes for 0.7.1.
parent
df726557
Loading
Loading
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
README.Win32
+10
-0
10 additions, 0 deletions
README.Win32
celt.pc.in
+2
-1
2 additions, 1 deletion
celt.pc.in
configure.ac
+1
-1
1 addition, 1 deletion
configure.ac
libcelt/os_support.h
+5
-5
5 additions, 5 deletions
libcelt/os_support.h
with
18 additions
and
7 deletions
README.Win32
0 → 100644
+
10
−
0
View file @
619a9681
Here are a few tips for building on Windows:
1) Create a config.h file that defines out things that defines out all the
features that your compiler doesn't understand (e.g. inline, restrict).
It also needs to define the CELT_BUILD macro
2) Define the HAVE_CONFIG_H macro in the project build options (NOT in config.h)
3) If you want things to be a lot easier, just use a compiler that supports
C99, such as gcc
This diff is collapsed.
Click to expand it.
celt.pc.in
+
2
−
1
View file @
619a9681
...
...
@@ -10,5 +10,6 @@ Description: CELT is a low-delay audio codec
Version: @CELT_VERSION@
Requires:
Conflicts:
Libs: -L${libdir} -lcelt@LIBCELT_SUFFIX@ -lm
Libs: -L${libdir} -lcelt@LIBCELT_SUFFIX@
Libs.private: -lm
Cflags: -I${includedir}
This diff is collapsed.
Click to expand it.
configure.ac
+
1
−
1
View file @
619a9681
...
...
@@ -6,7 +6,7 @@ AM_CONFIG_HEADER([config.h])
CELT_MAJOR_VERSION=0
CELT_MINOR_VERSION=7
CELT_MICRO_VERSION=
0
CELT_MICRO_VERSION=
1
CELT_EXTRA_VERSION=
CELT_VERSION=$CELT_MAJOR_VERSION.$CELT_MINOR_VERSION.$CELT_MICRO_VERSION$CELT_EXTRA_VERSION
LIBCELT_SUFFIX=0
...
...
This diff is collapsed.
Click to expand it.
libcelt/os_support.h
+
5
−
5
View file @
619a9681
...
...
@@ -42,7 +42,7 @@
#include
<stdio.h>
#include
<stdlib.h>
/**
Speex
wrapper for calloc. To do your own dynamic allocation, all you need to do is replace this function, celt_realloc and celt_free
/**
CELT
wrapper for calloc
()
. To do your own dynamic allocation, all you need to do is replace this function, celt_realloc and celt_free
NOTE: celt_alloc needs to CLEAR THE MEMORY */
#ifndef OVERRIDE_CELT_ALLOC
static
inline
void
*
celt_alloc
(
int
size
)
...
...
@@ -54,7 +54,7 @@ static inline void *celt_alloc (int size)
}
#endif
/** Same as celt_alloc, except that the area is only needed inside a
Speex
call (might cause problem with wideband though) */
/** Same as celt_alloc
()
, except that the area is only needed inside a
CELT
call (might cause problem with wideband though) */
#ifndef OVERRIDE_CELT_ALLOC_SCRATCH
static
inline
void
*
celt_alloc_scratch
(
int
size
)
{
...
...
@@ -63,7 +63,7 @@ static inline void *celt_alloc_scratch (int size)
}
#endif
/**
Speex
wrapper for realloc. To do your own dynamic allocation, all you need to do is replace this function, celt_alloc and celt_free */
/**
CELT
wrapper for realloc
()
. To do your own dynamic allocation, all you need to do is replace this function, celt_alloc and celt_free */
#ifndef OVERRIDE_CELT_REALLOC
static
inline
void
*
celt_realloc
(
void
*
ptr
,
int
size
)
{
...
...
@@ -71,7 +71,7 @@ static inline void *celt_realloc (void *ptr, int size)
}
#endif
/**
Speex
wrapper for
calloc
. To do your own dynamic allocation, all you need to do is replace this function, celt_realloc and celt_alloc */
/**
CELT
wrapper for
free()
. To do your own dynamic allocation, all you need to do is replace this function, celt_realloc and celt_alloc */
#ifndef OVERRIDE_CELT_FREE
static
inline
void
celt_free
(
void
*
ptr
)
{
...
...
@@ -79,7 +79,7 @@ static inline void celt_free (void *ptr)
}
#endif
/** Same as celt_free, except that the area is only needed inside a
Speex
call (might cause problem with wideband though) */
/** Same as celt_free
()
, except that the area is only needed inside a
CELT
call (might cause problem with wideband though) */
#ifndef OVERRIDE_CELT_FREE_SCRATCH
static
inline
void
celt_free_scratch
(
void
*
ptr
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment