Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
df8f6747
Commit
df8f6747
authored
Feb 09, 2003
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed GTK compilation.
parent
cdb11969
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
41 deletions
+9
-41
modules/gui/gtk/gtk_callbacks.c
modules/gui/gtk/gtk_callbacks.c
+9
-41
No files found.
modules/gui/gtk/gtk_callbacks.c
View file @
df8f6747
...
...
@@ -2,7 +2,7 @@
* gtk_callbacks.c : Callbacks for the Gtk+ plugin.
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* $Id: gtk_callbacks.c,v 1.1
2 2003/02/05 22:11:52 sam
Exp $
* $Id: gtk_callbacks.c,v 1.1
3 2003/02/09 01:56:21 massiot
Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Stphane Borel <stef@via.ecp.fr>
...
...
@@ -614,22 +614,10 @@ void GtkVolumeUp ( GtkMenuItem *menuitem,
gpointer
user_data
)
{
intf_thread_t
*
p_intf
=
GtkGetIntf
(
menuitem
);
aout_instance_t
*
p_aout
;
p_aout
=
vlc_object_find
(
p_intf
,
VLC_OBJECT_AOUT
,
FIND_ANYWHERE
);
if
(
p_aout
!=
NULL
)
{
if
(
p_intf
->
p_sys
->
b_mute
)
{
audio_volume_t
i_volume
;
aout_VolumeMute
(
p_aout
,
&
i_volume
);
aout_VolumeUp
(
p_intf
,
1
,
&
i_volume
);
p_intf
->
p_sys
->
b_mute
=
(
i_volume
==
0
)
?
1
:
0
;
}
aout_VolumeUp
(
p_aout
,
1
,
NULL
);
vlc_object_release
(
(
vlc_object_t
*
)
p_aout
);
}
}
...
...
@@ -637,21 +625,10 @@ void GtkVolumeDown ( GtkMenuItem *menuitem,
gpointer
user_data
)
{
intf_thread_t
*
p_intf
=
GtkGetIntf
(
menuitem
);
aout_instance_t
*
p_aout
;
p_aout
=
vlc_object_find
(
p_intf
,
VLC_OBJECT_AOUT
,
FIND_ANYWHERE
);
if
(
p_aout
!=
NULL
)
{
if
(
p_intf
->
p_sys
->
b_mute
)
{
audio_volume_t
i_volume
;
aout_VolumeMute
(
p_aout
,
&
i_volume
);
aout_VolumeDown
(
p_intf
,
1
,
&
i_volume
);
p_intf
->
p_sys
->
b_mute
=
(
i_volume
==
0
)
?
1
:
0
;
}
aout_VolumeDown
(
p_aout
,
1
,
NULL
);
vlc_object_release
(
(
vlc_object_t
*
)
p_aout
);
}
}
...
...
@@ -659,19 +636,10 @@ void GtkVolumeMute ( GtkMenuItem *menuitem,
gpointer
user_data
)
{
intf_thread_t
*
p_intf
=
GtkGetIntf
(
menuitem
);
aout_instance_t
*
p_aout
;
audio_volume_t
i_volume
;
p_aout
=
vlc_object_find
(
p_intf
,
VLC_OBJECT_AOUT
,
FIND_ANYWHERE
);
if
(
p_aout
!=
NULL
)
{
aout_VolumeMute
(
p_aout
,
&
i_volume
);
aout_VolumeMute
(
p_intf
,
&
i_volume
);
p_intf
->
p_sys
->
b_mute
=
(
i_volume
==
0
)
?
1
:
0
;
vlc_object_release
(
(
vlc_object_t
*
)
p_aout
);
}
}
void
...
...
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