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
f323ec58
Commit
f323ec58
authored
10 years ago
by
Vittorio Giovara
Committed by
Tristan Matthews
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
opensl: fix build on older android-platforms
Change-Id: Ie75b4d92ad1e6e616b8ab06a2325cf3f8f8a47fa Refs: #46972
parent
ec9c4689
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
daemon/src/audio/opensl/opensllayer.cpp
+7
-0
7 additions, 0 deletions
daemon/src/audio/opensl/opensllayer.cpp
with
7 additions
and
0 deletions
daemon/src/audio/opensl/opensllayer.cpp
+
7
−
0
View file @
f323ec58
...
@@ -44,6 +44,13 @@
...
@@ -44,6 +44,13 @@
#include
<cassert>
#include
<cassert>
#include
<unistd.h>
#include
<unistd.h>
#include
"SLES/OpenSLES_AndroidConfiguration.h"
/* available only from api 14 */
#ifndef SL_ANDROID_RECORDING_PRESET_VOICE_COMMUNICATION
#define SL_ANDROID_RECORDING_PRESET_VOICE_COMMUNICATION ((SLuint32) 0x00000004)
#endif
const
int
OpenSLLayer
::
NB_BUFFER_PLAYBACK_QUEUE
=
ANDROID_BUFFER_QUEUE_LENGTH
;
const
int
OpenSLLayer
::
NB_BUFFER_PLAYBACK_QUEUE
=
ANDROID_BUFFER_QUEUE_LENGTH
;
const
int
OpenSLLayer
::
NB_BUFFER_CAPTURE_QUEUE
=
ANDROID_BUFFER_QUEUE_LENGTH
;
const
int
OpenSLLayer
::
NB_BUFFER_CAPTURE_QUEUE
=
ANDROID_BUFFER_QUEUE_LENGTH
;
...
...
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