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
3a03d629
Commit
3a03d629
authored
Jul 09, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wide nCurses: set volume on playlist
parent
a528e8a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/gui/ncurses.c
modules/gui/ncurses.c
+3
-3
No files found.
modules/gui/ncurses.c
View file @
3a03d629
...
@@ -1195,12 +1195,12 @@ static int HandleKey( intf_thread_t *p_intf, int i_key )
...
@@ -1195,12 +1195,12 @@ static int HandleKey( intf_thread_t *p_intf, int i_key )
ReturnTrue
;
ReturnTrue
;
case
'a'
:
case
'a'
:
aout_VolumeUp
(
p_
intf
,
1
,
NULL
);
aout_VolumeUp
(
p_
playlist
,
1
,
NULL
);
clear
();
clear
();
ReturnTrue
;
ReturnTrue
;
case
'z'
:
case
'z'
:
aout_VolumeDown
(
p_
intf
,
1
,
NULL
);
aout_VolumeDown
(
p_
playlist
,
1
,
NULL
);
clear
();
clear
();
ReturnTrue
;
ReturnTrue
;
...
@@ -1547,7 +1547,7 @@ static void Redraw( intf_thread_t *p_intf, time_t *t_last_refresh )
...
@@ -1547,7 +1547,7 @@ static void Redraw( intf_thread_t *p_intf, time_t *t_last_refresh )
mvnprintw
(
y
++
,
0
,
COLS
,
_
(
" Position : %s/%s (%.2f%%)"
),
buf1
,
buf2
,
p_sys
->
f_slider
);
mvnprintw
(
y
++
,
0
,
COLS
,
_
(
" Position : %s/%s (%.2f%%)"
),
buf1
,
buf2
,
p_sys
->
f_slider
);
/* Volume */
/* Volume */
aout_VolumeGet
(
p_
intf
,
&
i_volume
);
aout_VolumeGet
(
p_
playlist
,
&
i_volume
);
mvnprintw
(
y
++
,
0
,
COLS
,
_
(
" Volume : %i%%"
),
i_volume
*
200
/
AOUT_VOLUME_MAX
);
mvnprintw
(
y
++
,
0
,
COLS
,
_
(
" Volume : %i%%"
),
i_volume
*
200
/
AOUT_VOLUME_MAX
);
/* Title */
/* Title */
...
...
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