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
bac53689
Commit
bac53689
authored
18 years ago
by
yanmorin
Browse files
Options
Downloads
Patches
Plain Diff
Remove debug from audiolayer and modify LIBS flags so that qt don't be compiled into sflphoned
parent
bb878c92
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
INSTALL
+8
-8
8 additions, 8 deletions
INSTALL
m4/gwqt.m4
+2
-1
2 additions, 1 deletion
m4/gwqt.m4
src/audio/audiolayer.cpp
+0
-7
0 additions, 7 deletions
src/audio/audiolayer.cpp
src/gui/qt/Makefile.am
+2
-1
2 additions, 1 deletion
src/gui/qt/Makefile.am
with
12 additions
and
17 deletions
INSTALL
+
8
−
8
View file @
bac53689
...
...
@@ -102,16 +102,16 @@ for another architecture.
Installation Names
==================
By default, `make install' install
s
the package's
commands under
`/usr/local/bin',
include files under
`/usr/local/
include
', etc. You
can specify an
installation prefix other than `/usr/local' by giving
`configure' the
option `--prefix=PREFIX'.
By default, `make install'
will
install the package's
files in
`/usr/local/bin', `/usr/local/
man
', etc. You
can specify an
installation prefix other than `/usr/local' by giving
`configure' the
option `--prefix=PREFIX'.
You can specify separate installation prefixes for
architecture-specific files and architecture-independent files. If you
pass
the option `--exec-prefix=PREFIX'
to `configure'
, the package
uses
PREFIX as the prefix for installing programs and libraries.
Documentation and other data files still use the regular prefix.
give `configure'
the option `--exec-prefix=PREFIX', the package
will
use
PREFIX as the prefix for installing programs and libraries.
Documentation and other data files
will
still use the regular prefix.
In addition, if you use an unusual directory layout you can give
options like `--bindir=DIR' to specify different values for particular
...
...
@@ -159,7 +159,7 @@ where SYSTEM can have one of these forms:
need to know the machine type.
If you are _building_ compiler tools for cross-compiling, you should
use the
option
`--target=TYPE' to select the type of system they will
use the `--target=TYPE'
option
to select the type of system they will
produce code for.
If you want to _use_ a cross compiler, that generates code for a
...
...
This diff is collapsed.
Click to expand it.
m4/gwqt.m4
+
2
−
1
View file @
bac53689
...
...
@@ -241,7 +241,8 @@ if test x$QT_IS_STATIC = xyes ; then
OLDLIBS="$LIBS"
LIBS="$QT_LDADD"
AC_CHECK_LIB(Xft, XftFontOpen, QT_LDADD="$QT_LDADD -lXft")
LIBS="$LIBS"
dnl LIBS="$LIBS"
LIBS=""
fi
AC_MSG_CHECKING([QT_CXXFLAGS])
...
...
This diff is collapsed.
Click to expand it.
src/audio/audiolayer.cpp
+
0
−
7
View file @
bac53689
...
...
@@ -270,7 +270,6 @@ AudioLayer::audioCallback (const void *inputBuffer, void *outputBuffer,
// Urgent data (dtmf, incoming call signal) come first.
toGet
=
(
urgentAvail
<
(
int
)(
framesPerBuffer
*
sizeof
(
int16
)
*
_outChannel
))
?
urgentAvail
:
framesPerBuffer
*
sizeof
(
int16
)
*
_outChannel
;
_urgentRingBuffer
.
Get
(
out
,
toGet
,
spkrVolume
);
_debug
(
"out: %p, toGet: %d, spkrVolume: %d
\n
"
,
out
,
toGet
,
spkrVolume
);
// Consume the regular one as well (same amount of bytes)
_mainSndRingBuffer
.
Discard
(
toGet
);
...
...
@@ -288,11 +287,7 @@ AudioLayer::audioCallback (const void *inputBuffer, void *outputBuffer,
if
(
toGet
)
{
_mainSndRingBuffer
.
Get
(
out
,
toGet
,
spkrVolume
);
}
else
{
//_debug("padding %d...\n", (int)(framesPerBuffer * sizeof(int16)*_outChannel));
//_mainSndRingBuffer.debug();
//portaudio::System::instance().sleep(framesPerBuffer*sizeof(int16));
bzero
(
out
,
framesPerBuffer
*
sizeof
(
int16
)
*
_outChannel
);
}
}
}
...
...
@@ -302,8 +297,6 @@ AudioLayer::audioCallback (const void *inputBuffer, void *outputBuffer,
toPut
=
(
micAvailPut
<=
(
int
)(
framesPerBuffer
*
sizeof
(
int16
)
*
_inChannel
))
?
micAvailPut
:
framesPerBuffer
*
sizeof
(
int16
)
*
_inChannel
;
_micRingBuffer
.
Put
(
in
,
toPut
,
micVolume
);
if
(
toPut
==
0
&&
toGet
==
0
)
{
return
1
;
}
return
paContinue
;
}
...
...
This diff is collapsed.
Click to expand it.
src/gui/qt/Makefile.am
+
2
−
1
View file @
bac53689
...
...
@@ -115,7 +115,8 @@ CLEANFILES = \
$(
BUILT_SOURCES
)
sflphone_qt_CXXFLAGS
=
-DPREFIX
=
\"
$(
prefix
)
\"
-DDATADIR
=
\"
$(
sflphone_datadir
)
\"
sflphone_qt_LDADD
=
$(
top_srcdir
)
/libs/taxidermy/libtaxidermy.la
# add QT_LIBS because LIBS conflicts in sflphone.la and was set to "" in m4/gwqt.m4
sflphone_qt_LDADD
=
$(
top_srcdir
)
/libs/taxidermy/libtaxidermy.la
$(
QT_LIBS
)
AM_CPPFLAGS
=
-I
$(
top_srcdir
)
/libs/
$(
QT_CXXFLAGS
)
$(
X_INCLUDES
)
$(
all_includes
)
AM_LDFLAGS
=
$(
QT_LDADD
)
$(
X_LDFLAGS
)
$(
all_libraries
)
...
...
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