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
7ec73fa9
Commit
7ec73fa9
authored
Aug 20, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Kill warnings of unused variables in audio_*
parent
f4614367
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
modules/audio_mixer/spdif.c
modules/audio_mixer/spdif.c
+2
-0
modules/audio_output/waveout.c
modules/audio_output/waveout.c
+3
-1
No files found.
modules/audio_mixer/spdif.c
View file @
7ec73fa9
...
@@ -76,6 +76,8 @@ static int Create( vlc_object_t *p_this )
...
@@ -76,6 +76,8 @@ static int Create( vlc_object_t *p_this )
*****************************************************************************/
*****************************************************************************/
static
void
DoWork
(
aout_instance_t
*
p_aout
,
aout_buffer_t
*
p_buffer
)
static
void
DoWork
(
aout_instance_t
*
p_aout
,
aout_buffer_t
*
p_buffer
)
{
{
VLC_UNUSED
(
p_buffer
);
int
i
=
0
;
int
i
=
0
;
aout_input_t
*
p_input
=
p_aout
->
pp_inputs
[
i
];
aout_input_t
*
p_input
=
p_aout
->
pp_inputs
[
i
];
while
(
p_input
->
b_error
||
p_input
->
b_paused
)
while
(
p_input
->
b_error
||
p_input
->
b_paused
)
...
...
modules/audio_output/waveout.c
View file @
7ec73fa9
...
@@ -1148,7 +1148,7 @@ static int VolumeSet( aout_instance_t * p_aout, audio_volume_t i_volume )
...
@@ -1148,7 +1148,7 @@ static int VolumeSet( aout_instance_t * p_aout, audio_volume_t i_volume )
static
int
ReloadWaveoutDevices
(
vlc_object_t
*
p_this
,
char
const
*
psz_name
,
static
int
ReloadWaveoutDevices
(
vlc_object_t
*
p_this
,
char
const
*
psz_name
,
vlc_value_t
newval
,
vlc_value_t
oldval
,
void
*
data
)
vlc_value_t
newval
,
vlc_value_t
oldval
,
void
*
data
)
{
{
int
i
;
VLC_UNUSED
(
newval
);
VLC_UNUSED
(
oldval
);
VLC_UNUSED
(
data
)
;
module_config_t
*
p_item
=
config_FindConfig
(
p_this
,
psz_name
);
module_config_t
*
p_item
=
config_FindConfig
(
p_this
,
psz_name
);
if
(
!
p_item
)
return
VLC_SUCCESS
;
if
(
!
p_item
)
return
VLC_SUCCESS
;
...
@@ -1156,6 +1156,8 @@ static int ReloadWaveoutDevices( vlc_object_t *p_this, char const *psz_name,
...
@@ -1156,6 +1156,8 @@ static int ReloadWaveoutDevices( vlc_object_t *p_this, char const *psz_name,
/* Clear-up the current list */
/* Clear-up the current list */
if
(
p_item
->
i_list
)
if
(
p_item
->
i_list
)
{
{
int
i
;
/* Keep the first entry */
/* Keep the first entry */
for
(
i
=
1
;
i
<
p_item
->
i_list
;
i
++
)
for
(
i
=
1
;
i
<
p_item
->
i_list
;
i
++
)
{
{
...
...
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