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
d7143389
Commit
d7143389
authored
Aug 04, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Win32: audio outputs compile fix
parent
1022827b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
modules/audio_output/directx.c
modules/audio_output/directx.c
+3
-3
modules/audio_output/waveout.c
modules/audio_output/waveout.c
+2
-2
No files found.
modules/audio_output/directx.c
View file @
d7143389
...
@@ -241,7 +241,7 @@ static int OpenAudio( vlc_object_t *p_this )
...
@@ -241,7 +241,7 @@ static int OpenAudio( vlc_object_t *p_this )
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
}
}
aout_PacketInit
(
p_aout
,
&
p_sys
->
packet
,
A52_FRAME_NB
);
aout_PacketInit
(
p_aout
,
&
p_
aout
->
sys
->
packet
,
A52_FRAME_NB
);
aout_VolumeNoneInit
(
p_aout
);
aout_VolumeNoneInit
(
p_aout
);
}
}
else
else
...
@@ -296,7 +296,7 @@ static int OpenAudio( vlc_object_t *p_this )
...
@@ -296,7 +296,7 @@ static int OpenAudio( vlc_object_t *p_this )
/* Calculate the frame size in bytes */
/* Calculate the frame size in bytes */
aout_FormatPrepare
(
&
p_aout
->
format
);
aout_FormatPrepare
(
&
p_aout
->
format
);
aout_PacketInit
(
p_aout
,
&
p_sys
->
packet
,
FRAME_SIZE
);
aout_PacketInit
(
p_aout
,
&
p_
aout
->
sys
->
packet
,
FRAME_SIZE
);
aout_VolumeSoftInit
(
p_aout
);
aout_VolumeSoftInit
(
p_aout
);
}
}
...
@@ -1044,7 +1044,7 @@ static void* DirectSoundThread( void *data )
...
@@ -1044,7 +1044,7 @@ static void* DirectSoundThread( void *data )
{
{
DWORD
l_read
;
DWORD
l_read
;
int
l_queued
=
0
,
l_free_slots
;
int
l_queued
=
0
,
l_free_slots
;
unsigned
i_frame_siz
=
p_sys
->
packet
.
samples
;
unsigned
i_frame_siz
=
p_
aout
->
sys
->
packet
.
samples
;
mtime_t
mtime
=
mdate
();
mtime_t
mtime
=
mdate
();
int
i
;
int
i
;
...
...
modules/audio_output/waveout.c
View file @
d7143389
...
@@ -240,7 +240,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -240,7 +240,7 @@ static int Open( vlc_object_t *p_this )
p_aout
->
sys
->
i_buffer_size
=
p_aout
->
sys
->
i_buffer_size
=
p_aout
->
format
.
i_bytes_per_frame
;
p_aout
->
format
.
i_bytes_per_frame
;
aout_PacketInit
(
p_aout
,
&
p_aout
->
p_
sys
->
packet
,
A52_FRAME_NB
);
aout_PacketInit
(
p_aout
,
&
p_aout
->
sys
->
packet
,
A52_FRAME_NB
);
aout_VolumeNoneInit
(
p_aout
);
aout_VolumeNoneInit
(
p_aout
);
}
}
else
else
...
@@ -286,7 +286,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -286,7 +286,7 @@ static int Open( vlc_object_t *p_this )
p_aout
->
sys
->
i_buffer_size
=
FRAME_SIZE
*
p_aout
->
sys
->
i_buffer_size
=
FRAME_SIZE
*
p_aout
->
format
.
i_bytes_per_frame
;
p_aout
->
format
.
i_bytes_per_frame
;
aout_PacketInit
(
p_aout
,
&
p_aout
->
p_
sys
->
packet
,
FRAME_SIZE
);
aout_PacketInit
(
p_aout
,
&
p_aout
->
sys
->
packet
,
FRAME_SIZE
);
aout_VolumeSoftInit
(
p_aout
);
aout_VolumeSoftInit
(
p_aout
);
/* Check for hardware volume support */
/* Check for hardware volume support */
...
...
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