Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
c30d2888
Commit
c30d2888
authored
17 years ago
by
Emmanuel Milou
Browse files
Options
Downloads
Patches
Plain Diff
configure --without-gsm done
If you disable gsm support, you dont need libgsm1-dev anymore
parent
a9f04433
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
configure.ac
+1
-1
1 addition, 1 deletion
configure.ac
src/audio/Makefile.am
+7
-1
7 additions, 1 deletion
src/audio/Makefile.am
src/audio/codecDescriptor.cpp
+8
-2
8 additions, 2 deletions
src/audio/codecDescriptor.cpp
src/global.h
+3
-0
3 additions, 0 deletions
src/global.h
with
19 additions
and
4 deletions
configure.ac
+
1
−
1
View file @
c30d2888
...
...
@@ -192,7 +192,7 @@ SFLPHONE_LIBS="$SFLPHONE_LIBS $libdbuscpp_LIBS"
AC_CHECK_HEADER(boost/tokenizer.hpp, , AC_MSG_ERROR("Unable to find the libboost tokenizer headers; you may need to install the libboost-dev package" ) )
# check for libgsm1 (doesn't use pkg-config)
dnl Check for lib
speex
dnl Check for lib
gsm
AC_ARG_WITH([gsm],
[AS_HELP_STRING([--without-gsm],
[disable support for gsm codec])],
...
...
This diff is collapsed.
Click to expand it.
src/audio/Makefile.am
+
7
−
1
View file @
c30d2888
...
...
@@ -8,6 +8,12 @@ else
SPEEX_FLAG
=
endif
if
BUILD_GSM
GSM_FLAG
=
-DBUILD_GSM
else
GSM_FLAG
=
endif
SUBDIRS
=
codecs
libaudio_la_SOURCES
=
audiofile.cpp tonelist.cpp
\
...
...
@@ -16,7 +22,7 @@ tonegenerator.cpp codecDescriptor.cpp \
audioloop.cpp ringbuffer.cpp
$(
SPEEX_SOURCES_CPP
)
AM_CXXFLAGS
=
-I
$(
top_srcdir
)
/include
-I
$(
top_srcdir
)
/libs
$(
libccext2_CFLAGS
)
$(
libdbuscpp_CFLAGS
)
$(
libccrtp1_CFLAGS
)
$(
USER_INCLUDES
)
\
-DCODECS_DIR
=
\"
"
$(
sflcodecdir
)
"
\"
$(
SPEEX_FLAG
)
-DCODECS_DIR
=
\"
"
$(
sflcodecdir
)
"
\"
$(
SPEEX_FLAG
)
$(
GSM_FLAG
)
noinst_HEADERS
=
audioloop.h common.h ringbuffer.h audiofile.h
\
tonelist.h audiortp.h audiolayer.h audiodevice.h
\
...
...
This diff is collapsed.
Click to expand it.
src/audio/codecDescriptor.cpp
+
8
−
2
View file @
c30d2888
...
...
@@ -286,8 +286,14 @@ CodecDescriptor::seemsValid( std::string lib)
#ifdef BUILD_SPEEX
// Nothing special
#else
std
::
string
speex
=
"speex"
;
if
(
lib
.
substr
(
begin
.
length
()
,
lib
.
length
()
-
begin
.
length
()
-
end
.
length
())
==
speex
)
if
(
lib
.
substr
(
begin
.
length
()
,
lib
.
length
()
-
begin
.
length
()
-
end
.
length
())
==
SPEEX_STRING_DESCRIPTION
)
return
false
;
#endif
#ifdef BUILD_GSM
// Nothing special
#else
if
(
lib
.
substr
(
begin
.
length
()
,
lib
.
length
()
-
begin
.
length
()
-
end
.
length
())
==
GSM_STRING_DESCRIPTION
)
return
false
;
#endif
...
...
This diff is collapsed.
Click to expand it.
src/global.h
+
3
−
0
View file @
c30d2888
...
...
@@ -100,4 +100,7 @@ typedef short int16;
#define IAX2_ENABLED false
#endif
#define GSM_STRING_DESCRIPTION "gsm"
#define SPEEX_STRING_DESCRIPTION "speex"
#endif // __GLOBAL_H__
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