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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
d80e9a30
Commit
d80e9a30
authored
15 years ago
by
Alexandre Savard
Browse files
Options
Downloads
Patches
Plain Diff
[#3443] Init echo canceller using audio layer sampling rate
parent
db945995
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
sflphone-common/src/audio/pulseaudio/pulselayer.cpp
+1
-1
1 addition, 1 deletion
sflphone-common/src/audio/pulseaudio/pulselayer.cpp
with
1 addition
and
1 deletion
sflphone-common/src/audio/pulseaudio/pulselayer.cpp
+
1
−
1
View file @
d80e9a30
...
@@ -445,7 +445,7 @@ bool PulseLayer::openDevice (int indexIn UNUSED, int indexOut UNUSED, int indexR
...
@@ -445,7 +445,7 @@ bool PulseLayer::openDevice (int indexIn UNUSED, int indexOut UNUSED, int indexR
_converter
=
new
SamplerateConverter
(
_audioSampleRate
,
1000
);
_converter
=
new
SamplerateConverter
(
_audioSampleRate
,
1000
);
// Instantiate the algorithm
// Instantiate the algorithm
AudioLayer
::
_echoCancel
=
new
EchoCancel
();
AudioLayer
::
_echoCancel
=
new
EchoCancel
(
_audioSampleRate
,
_frameSize
);
AudioLayer
::
_echoCanceller
=
new
AudioProcessing
(
static_cast
<
Algorithm
*>
(
_echoCancel
));
AudioLayer
::
_echoCanceller
=
new
AudioProcessing
(
static_cast
<
Algorithm
*>
(
_echoCancel
));
AudioLayer
::
_dcblocker
=
new
DcBlocker
();
AudioLayer
::
_dcblocker
=
new
DcBlocker
();
...
...
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