Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
a40a9439
Commit
a40a9439
authored
Dec 15, 2012
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opensles: increase number of buffers to the maximum
parent
9e72b6b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
modules/audio_output/opensles_android.c
modules/audio_output/opensles_android.c
+1
-4
No files found.
modules/audio_output/opensles_android.c
View file @
a40a9439
...
...
@@ -40,9 +40,6 @@
#include <SLES/OpenSLES.h>
#include <SLES/OpenSLES_Android.h>
// Maximum number of buffers to enqueue.
#define BUFF_QUEUE 42
#define Destroy(a) (*a)->Destroy(a);
#define SetPlayState(a, b) (*a)->SetPlayState(a, b)
#define RegisterCallback(a, b, c) (*a)->RegisterCallback(a, b, c)
...
...
@@ -362,7 +359,7 @@ static int Start( audio_output_t *p_aout, audio_sample_format_t *restrict fmt )
// configure audio source - this defines the number of samples you can enqueue.
SLDataLocator_AndroidSimpleBufferQueue
loc_bufq
=
{
SL_DATALOCATOR_ANDROIDSIMPLEBUFFERQUEUE
,
BUFF_QUEUE
255
// Maximum number of buffers to enqueue.
};
SLDataFormat_PCM
format_pcm
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment