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
0142fab0
Commit
0142fab0
authored
Jan 04, 2003
by
Eric Petit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
We now check if the BSoundPlayer's buffer size is not the one we
were expecting.
parent
0bf3bdae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
modules/gui/beos/AudioOutput.cpp
modules/gui/beos/AudioOutput.cpp
+8
-1
No files found.
modules/gui/beos/AudioOutput.cpp
View file @
0142fab0
...
...
@@ -2,7 +2,7 @@
* AudioOutput.cpp: BeOS audio output
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
* $Id: AudioOutput.cpp,v 1.2
2 2002/12/26 18:17:38 stippi
Exp $
* $Id: AudioOutput.cpp,v 1.2
3 2003/01/04 17:14:22 titer
Exp $
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -120,6 +120,13 @@ static void Play( void *aout, void *p_buffer, size_t i_size,
{
aout_buffer_t
*
p_aout_buffer
;
aout_instance_t
*
p_aout
=
(
aout_instance_t
*
)
aout
;
if
(
(
int
)
i_size
!=
8
*
p_aout
->
output
.
i_nb_samples
)
{
msg_Warn
(
p_aout
,
"BSoundPlayer buffer size changed (%d -> %d)"
,
8
*
p_aout
->
output
.
i_nb_samples
,
i_size
);
p_aout
->
output
.
i_nb_samples
=
i_size
/
8
;
}
vlc_mutex_lock
(
&
p_aout
->
output_fifo_lock
);
p_aout_buffer
=
aout_FifoPop
(
p_aout
,
&
p_aout
->
output
.
fifo
);
...
...
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