Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
02c9c1cb
Commit
02c9c1cb
authored
Jan 08, 2003
by
Eric Petit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Partial fix for video/audio sync.
parent
e3226165
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
modules/gui/beos/AudioOutput.cpp
modules/gui/beos/AudioOutput.cpp
+8
-5
No files found.
modules/gui/beos/AudioOutput.cpp
View file @
02c9c1cb
...
...
@@ -2,7 +2,7 @@
* AudioOutput.cpp: BeOS audio output
*****************************************************************************
* Copyright (C) 1999, 2000, 2001 VideoLAN
* $Id: AudioOutput.cpp,v 1.2
4 2003/01/08 13:52:56
titer Exp $
* $Id: AudioOutput.cpp,v 1.2
5 2003/01/08 15:13:32
titer Exp $
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -135,12 +135,15 @@ void E_(CloseAudio) ( vlc_object_t *p_this )
static
void
Play
(
void
*
aout
,
void
*
p_buffer
,
size_t
i_size
,
const
media_raw_audio_format
&
format
)
{
aout_instance_t
*
p_aout
=
(
aout_instance_t
*
)
aout
;
aout_sys_t
*
p_sys
=
(
aout_sys_t
*
)
p_aout
->
output
.
p_sys
;
aout_buffer_t
*
p_aout_buffer
;
aout_instance_t
*
p_aout
=
(
aout_instance_t
*
)
aout
;
mtime_t
current_date
;
vlc_mutex_lock
(
&
p_aout
->
output_fifo_lock
);
p_aout_buffer
=
aout_FifoPop
(
p_aout
,
&
p_aout
->
output
.
fifo
);
vlc_mutex_unlock
(
&
p_aout
->
output_fifo_lock
);
/* FIXME - I don't know the right way to calculate this */
current_date
=
mdate
()
+
50000
;
p_aout_buffer
=
aout_OutputNextBuffer
(
p_aout
,
current_date
,
VLC_FALSE
);
if
(
p_aout_buffer
!=
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