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
506ef92b
Commit
506ef92b
authored
May 25, 2012
by
David Fuhrmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: remove now unneeded volume osd hack
parent
1536ed21
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
26 deletions
+0
-26
modules/gui/macosx/CoreInteraction.m
modules/gui/macosx/CoreInteraction.m
+0
-26
No files found.
modules/gui/macosx/CoreInteraction.m
View file @
506ef92b
...
...
@@ -470,17 +470,6 @@ static VLCCoreInteraction *_o_sharedInstance = nil;
}
}
-
(
void
)
displayVolume
{
vout_thread_t
*
p_vout
=
getVout
();
if
(
p_vout
)
{
vout_OSDMessage
(
p_vout
,
SPU_DEFAULT_CHANNEL
,
_
(
"Volume %d%%"
),
[
self
volume
]
*
100
/
AOUT_VOLUME_DEFAULT
);
vlc_object_release
(
p_vout
);
}
}
-
(
void
)
volumeUp
{
intf_thread_t
*
p_intf
=
VLCIntf
;
...
...
@@ -488,7 +477,6 @@ static VLCCoreInteraction *_o_sharedInstance = nil;
return
;
aout_VolumeUp
(
pl_Get
(
p_intf
),
1
,
NULL
);
[
self
displayVolume
];
}
-
(
void
)
volumeDown
...
...
@@ -498,7 +486,6 @@ static VLCCoreInteraction *_o_sharedInstance = nil;
return
;
aout_VolumeDown
(
pl_Get
(
p_intf
),
1
,
NULL
);
[
self
displayVolume
];
}
-
(
void
)
mute
...
...
@@ -508,19 +495,6 @@ static VLCCoreInteraction *_o_sharedInstance = nil;
return
;
aout_ToggleMute
(
pl_Get
(
p_intf
),
NULL
);
vout_thread_t
*
p_vout
=
getVout
();
if
(
p_vout
)
{
if
(
[
self
isMuted
]
)
{
vout_OSDIcon
(
p_vout
,
SPU_DEFAULT_CHANNEL
,
OSD_MUTE_ICON
);
}
else
[
self
displayVolume
];
vlc_object_release
(
p_vout
);
}
}
-
(
BOOL
)
isMuted
...
...
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