Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
212212c0
Commit
212212c0
authored
Jun 25, 2005
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bigger buffer to reduce stuttering
parent
8c4ffec4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
modules/demux/voc.c
modules/demux/voc.c
+5
-4
No files found.
modules/demux/voc.c
View file @
212212c0
...
...
@@ -371,6 +371,7 @@ corrupt:
*****************************************************************************
* Returns -1 in case of error, 0 in case of EOF, 1 otherwise
*****************************************************************************/
#define SAMPLES_BUFFER 1000
static
int
Demux
(
demux_t
*
p_demux
)
{
demux_sys_t
*
p_sys
=
p_demux
->
p_sys
;
...
...
@@ -388,8 +389,8 @@ static int Demux( demux_t *p_demux )
{
i
=
(
p_sys
->
i_block_end
-
i_offset
)
/
p_sys
->
fmt
.
audio
.
i_bytes_per_frame
;
if
(
i
>
100
)
i
=
100
;
if
(
i
>
SAMPLES_BUFFER
)
i
=
SAMPLES_BUFFER
;
p_block
=
stream_Block
(
p_demux
->
s
,
p_sys
->
fmt
.
audio
.
i_bytes_per_frame
*
i
);
...
...
@@ -402,8 +403,8 @@ static int Demux( demux_t *p_demux )
else
{
/* emulates silence from the stream */
i
=
p_sys
->
i_silence_countdown
;
if
(
i
>
100
)
i
=
100
;
if
(
i
>
SAMPLES_BUFFER
)
i
=
SAMPLES_BUFFER
;
p_block
=
block_New
(
p_demux
,
i
);
if
(
p_block
==
NULL
)
...
...
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