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
0c097799
Commit
0c097799
authored
May 31, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aout: remove emitted but never subscribed intf-change variable
parent
a5c381a2
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
0 additions
and
12 deletions
+0
-12
modules/audio_output/alsa.c
modules/audio_output/alsa.c
+0
-1
modules/audio_output/directx.c
modules/audio_output/directx.c
+0
-1
modules/audio_output/kai.c
modules/audio_output/kai.c
+0
-2
modules/audio_output/oss.c
modules/audio_output/oss.c
+0
-2
modules/audio_output/waveout.c
modules/audio_output/waveout.c
+0
-1
src/audio_output/common.c
src/audio_output/common.c
+0
-1
src/audio_output/intf.c
src/audio_output/intf.c
+0
-2
src/audio_output/output.c
src/audio_output/output.c
+0
-2
No files found.
modules/audio_output/alsa.c
View file @
0c097799
...
...
@@ -158,7 +158,6 @@ static void Probe (vlc_object_t *obj, const char *dev)
GetDevices
(
obj
,
NULL
,
dev
);
var_AddCallback
(
obj
,
"audio-device"
,
aout_ChannelsRestart
,
NULL
);
var_TriggerCallback
(
obj
,
"intf-change"
);
}
...
...
modules/audio_output/directx.c
View file @
0c097799
...
...
@@ -551,7 +551,6 @@ static void Probe( audio_output_t * p_aout )
}
var_AddCallback
(
p_aout
,
"audio-device"
,
aout_ChannelsRestart
,
NULL
);
var_TriggerCallback
(
p_aout
,
"intf-change"
);
}
/*****************************************************************************
...
...
modules/audio_output/kai.c
View file @
0c097799
...
...
@@ -233,8 +233,6 @@ static int Open ( vlc_object_t *p_this )
var_AddCallback
(
p_aout
,
"audio-device"
,
aout_ChannelsRestart
,
NULL
);
}
var_TriggerCallback
(
p_aout
,
"intf-change"
);
/* Prevent SIG_FPE */
_control87
(
MCW_EM
,
MCW_EM
);
...
...
modules/audio_output/oss.c
View file @
0c097799
...
...
@@ -344,8 +344,6 @@ static int Open( vlc_object_t *p_this )
goto
error
;
}
var_TriggerCallback
(
p_aout
,
"intf-change"
);
/* Reset the DSP device */
if
(
ioctl
(
p_sys
->
i_fd
,
SNDCTL_DSP_RESET
,
NULL
)
<
0
)
{
...
...
modules/audio_output/waveout.c
View file @
0c097799
...
...
@@ -465,7 +465,6 @@ static void Probe( audio_output_t * p_aout )
}
var_AddCallback
(
p_aout
,
"audio-device"
,
aout_ChannelsRestart
,
NULL
);
var_TriggerCallback
(
p_aout
,
"intf-change"
);
}
/*****************************************************************************
...
...
src/audio_output/common.c
View file @
0c097799
...
...
@@ -77,7 +77,6 @@ audio_output_t *aout_New( vlc_object_t * p_parent )
var_Create
(
aout
,
"volume"
,
VLC_VAR_INTEGER
|
VLC_VAR_DOINHERIT
);
var_Create
(
aout
,
"mute"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
var_Create
(
aout
,
"intf-change"
,
VLC_VAR_VOID
);
/* Visualizations */
var_Create
(
aout
,
"visual"
,
VLC_VAR_STRING
|
VLC_VAR_HASCHOICE
);
...
...
src/audio_output/intf.c
View file @
0c097799
...
...
@@ -105,8 +105,6 @@ static int commitVolume (vlc_object_t *obj, audio_output_t *aout,
var_SetBool
(
aout
,
"mute"
,
mute
);
aout_unlock_volume
(
aout
);
if
(
ret
==
0
)
var_TriggerCallback
(
aout
,
"intf-change"
);
vlc_object_release
(
aout
);
}
return
ret
;
...
...
src/audio_output/output.c
View file @
0c097799
...
...
@@ -153,7 +153,6 @@ int aout_OutputNew( audio_output_t *p_aout,
var_AddCallback
(
p_aout
,
"audio-channels"
,
aout_ChannelsRestart
,
NULL
);
}
var_TriggerCallback
(
p_aout
,
"intf-change"
);
aout_FormatPrepare
(
&
p_aout
->
format
);
aout_FormatPrint
(
p_aout
,
"output"
,
&
p_aout
->
format
);
...
...
@@ -347,5 +346,4 @@ void aout_VolumeHardSet (audio_output_t *aout, float volume, bool mute)
* output plug-in (it would cause a lock inversion). */
var_SetInteger
(
aout
,
"volume"
,
vol
);
var_SetBool
(
aout
,
"mute"
,
mute
);
var_TriggerCallback
(
aout
,
"intf-change"
);
}
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