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
3dc19666
Commit
3dc19666
authored
14 years ago
by
Alexandre Savard
Browse files
Options
Downloads
Patches
Plain Diff
[#4885] Some cleanup
parent
0cb9fb1a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sflphone-common/src/audio/mainbuffer.cpp
+1
-1
1 addition, 1 deletion
sflphone-common/src/audio/mainbuffer.cpp
sflphone-common/src/audio/pulseaudio/pulselayer.h
+12
-6
12 additions, 6 deletions
sflphone-common/src/audio/pulseaudio/pulselayer.h
with
13 additions
and
7 deletions
sflphone-common/src/audio/mainbuffer.cpp
+
1
−
1
View file @
3dc19666
...
...
@@ -52,7 +52,7 @@ void MainBuffer::setInternalSamplingRate (int sr)
if
(
sr
>
_internalSamplingRate
)
{
_debug
(
"
******************************************
MainBuffer: Internal sampling rate changed %d
**********************************
"
,
sr
);
_debug
(
"MainBuffer: Internal sampling rate changed %d"
,
sr
);
// This call takes the mutex
flushAllBuffers
();
...
...
This diff is collapsed.
Click to expand it.
sflphone-common/src/audio/pulseaudio/pulselayer.h
+
12
−
6
View file @
3dc19666
...
...
@@ -183,12 +183,24 @@ class PulseLayer : public AudioLayer
micVolume
=
value
;
}
/**
* Handle used to write voice data to speaker
*/
void
processPlaybackData
(
void
);
/**
* Handle used to write voice data to microphone
*/
void
processCaptureData
(
void
);
/**
* Handle used to write audio data to speaker
*/
void
processRingtoneData
(
void
);
/**
* Process speaker and microphone audio data
*/
void
processData
(
void
);
/**
...
...
@@ -278,16 +290,10 @@ class PulseLayer : public AudioLayer
int
spkrVolume
;
int
micVolume
;
// ofstream *captureFile;
// ofstream *spkrFile;
DeviceList
_sinkList
;
DeviceList
_sourceList
;
// private:
int
byteCounter
;
public
:
...
...
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