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
02bfd071
Commit
02bfd071
authored
13 years ago
by
Tristan Matthews
Browse files
Options
Downloads
Patches
Plain Diff
cleanup
parent
c42b7219
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
daemon/src/audio/alsa/alsalayer.h
+13
-13
13 additions, 13 deletions
daemon/src/audio/alsa/alsalayer.h
daemon/src/audio/samplerateconverter.h
+1
-1
1 addition, 1 deletion
daemon/src/audio/samplerateconverter.h
with
14 additions
and
14 deletions
daemon/src/audio/alsa/alsalayer.h
+
13
−
13
View file @
02bfd071
...
...
@@ -57,21 +57,21 @@ class AlsaLayer : public AudioLayer {
/**
* Destructor
*/
~
AlsaLayer
(
void
);
~
AlsaLayer
();
/**
* Start the capture stream and prepare the playback stream.
* The playback starts accordingly to its threshold
* ALSA Library API
*/
void
startStream
(
void
);
void
startStream
();
/**
* Stop the playback and capture streams.
* Drops the pending frames and put the capture and playback handles to PREPARED state
* ALSA Library API
*/
void
stopStream
(
void
);
void
stopStream
();
/**
* Concatenate two strings. Used to build a valid pcm device name.
...
...
@@ -111,9 +111,9 @@ class AlsaLayer : public AudioLayer {
int
soundCardGetIndex
(
const
std
::
string
&
description
);
void
playback
(
int
maxSamples
);
void
capture
(
void
);
void
capture
();
void
audioCallback
(
void
);
void
audioCallback
();
/**
* Get the index of the audio card for capture
...
...
@@ -178,15 +178,15 @@ class AlsaLayer : public AudioLayer {
* Drop the pending frames and close the capture device
* ALSA Library API
*/
void
closeCaptureStream
(
void
);
void
stopCaptureStream
(
void
);
void
startCaptureStream
(
void
);
void
prepareCaptureStream
(
void
);
void
closeCaptureStream
();
void
stopCaptureStream
();
void
startCaptureStream
();
void
prepareCaptureStream
();
void
closePlaybackStream
(
void
);
void
stopPlaybackStream
(
void
);
void
startPlaybackStream
(
void
);
void
preparePlaybackStream
(
void
);
void
closePlaybackStream
();
void
stopPlaybackStream
();
void
startPlaybackStream
();
void
preparePlaybackStream
();
bool
alsa_set_params
(
snd_pcm_t
*
pcm_handle
);
...
...
This diff is collapsed.
Click to expand it.
daemon/src/audio/samplerateconverter.h
+
1
−
1
View file @
02bfd071
...
...
@@ -49,7 +49,7 @@ class SamplerateConverter {
SamplerateConverter
(
int
freq
);
/** Destructor */
~
SamplerateConverter
(
void
);
~
SamplerateConverter
();
/**
* resample from the samplerate1 to the samplerate2
...
...
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