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
70042746
Commit
70042746
authored
Apr 07, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename "volume-muted" to simply "mute"
parent
633914e3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
modules/gui/qt4/input_manager.cpp
modules/gui/qt4/input_manager.cpp
+2
-2
src/audio_output/intf.c
src/audio_output/intf.c
+3
-3
src/control/media_player.c
src/control/media_player.c
+1
-1
src/playlist/engine.c
src/playlist/engine.c
+1
-1
No files found.
modules/gui/qt4/input_manager.cpp
View file @
70042746
...
...
@@ -957,7 +957,7 @@ MainInputManager::MainInputManager( intf_thread_t *_p_intf )
var_AddCallback
(
THEPL
,
"loop"
,
LoopChanged
,
this
);
var_AddCallback
(
THEPL
,
"volume-change"
,
VolumeChanged
,
this
);
var_AddCallback
(
THEPL
,
"
volume-muted
"
,
SoundMuteChanged
,
this
);
var_AddCallback
(
THEPL
,
"
mute
"
,
SoundMuteChanged
,
this
);
/* Warn our embedded IM about input changes */
DCONNECT
(
this
,
inputChanged
(
input_thread_t
*
),
...
...
@@ -988,7 +988,7 @@ MainInputManager::~MainInputManager()
}
var_DelCallback
(
THEPL
,
"volume-change"
,
VolumeChanged
,
this
);
var_DelCallback
(
THEPL
,
"
volume-muted
"
,
SoundMuteChanged
,
this
);
var_DelCallback
(
THEPL
,
"
mute
"
,
SoundMuteChanged
,
this
);
var_DelCallback
(
THEPL
,
"activity"
,
PLItemChanged
,
this
);
var_DelCallback
(
THEPL
,
"item-change"
,
ItemChanged
,
im
);
...
...
src/audio_output/intf.c
View file @
70042746
...
...
@@ -71,7 +71,7 @@ static void prepareVolume (vlc_object_t *obj, aout_instance_t **aoutp,
if
(
volp
!=
NULL
)
*
volp
=
config_GetInt
(
obj
,
"volume"
);
if
(
mutep
!=
NULL
)
*
mutep
=
var_GetBool
(
obj
,
"
volume-muted
"
);
*
mutep
=
var_GetBool
(
obj
,
"
mute
"
);
}
/** Commit a volume change transaction. */
...
...
@@ -83,7 +83,7 @@ static int commitVolume (vlc_object_t *obj, aout_instance_t *aout,
config_PutInt
(
obj
,
"volume"
,
volume
);
if
(
mute
)
volume
=
AOUT_VOLUME_MIN
;
var_SetBool
(
obj
,
"
volume-muted
"
,
mute
);
var_SetBool
(
obj
,
"
mute
"
,
mute
);
if
(
aout
!=
NULL
)
{
...
...
@@ -213,7 +213,7 @@ bool aout_IsMuted (vlc_object_t *obj)
cancelVolume (obj, aout);
return mute;
#else
return
var_GetBool
(
obj
,
"
volume-muted
"
);
return
var_GetBool
(
obj
,
"
mute
"
);
#endif
}
...
...
src/control/media_player.c
View file @
70042746
...
...
@@ -454,7 +454,7 @@ libvlc_media_player_new( libvlc_instance_t *instance )
/* Audio */
var_Create
(
mp
,
"aout"
,
VLC_VAR_STRING
|
VLC_VAR_DOINHERIT
);
var_Create
(
mp
,
"
volume-muted
"
,
VLC_VAR_BOOL
);
var_Create
(
mp
,
"
mute
"
,
VLC_VAR_BOOL
);
var_Create
(
mp
,
"saved-volume"
,
VLC_VAR_INTEGER
);
var_Create
(
mp
,
"volume-change"
,
VLC_VAR_VOID
);
var_Create
(
mp
,
"find-input-callback"
,
VLC_VAR_ADDRESS
);
...
...
src/playlist/engine.c
View file @
70042746
...
...
@@ -432,7 +432,7 @@ static void VariablesInit( playlist_t *p_playlist )
var_Create
(
p_playlist
,
"video-on-top"
,
VLC_VAR_BOOL
|
VLC_VAR_DOINHERIT
);
/* Audio output parameters */
var_Create
(
p_playlist
,
"
volume-muted
"
,
VLC_VAR_BOOL
);
var_Create
(
p_playlist
,
"
mute
"
,
VLC_VAR_BOOL
);
var_Create
(
p_playlist
,
"saved-volume"
,
VLC_VAR_INTEGER
);
var_Create
(
p_playlist
,
"volume-change"
,
VLC_VAR_VOID
);
/* FIXME: horrible hack for audio output interface code */
...
...
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