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
d4be4dc2
Commit
d4be4dc2
authored
Feb 14, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove a few fixmes
parent
7e30f80e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
src/control/audio.c
src/control/audio.c
+0
-4
No files found.
src/control/audio.c
View file @
d4be4dc2
...
@@ -305,7 +305,6 @@ void libvlc_audio_output_set_device_type( libvlc_media_player_t *mp,
...
@@ -305,7 +305,6 @@ void libvlc_audio_output_set_device_type( libvlc_media_player_t *mp,
*****************************************************************************/
*****************************************************************************/
void
libvlc_audio_toggle_mute
(
libvlc_media_player_t
*
mp
)
void
libvlc_audio_toggle_mute
(
libvlc_media_player_t
*
mp
)
{
{
#warning FIXME: no playlist
aout_ToggleMute
(
mp
,
NULL
);
aout_ToggleMute
(
mp
,
NULL
);
}
}
...
@@ -318,7 +317,6 @@ void libvlc_audio_set_mute( libvlc_media_player_t *mp, int mute )
...
@@ -318,7 +317,6 @@ void libvlc_audio_set_mute( libvlc_media_player_t *mp, int mute )
{
{
#warning Not quite thread-safe
#warning Not quite thread-safe
if
(
!
mute
!=
!
libvlc_audio_get_mute
(
mp
)
)
if
(
!
mute
!=
!
libvlc_audio_get_mute
(
mp
)
)
#warning FIXME: no playlist
aout_ToggleMute
(
mp
,
NULL
);
aout_ToggleMute
(
mp
,
NULL
);
}
}
...
@@ -329,7 +327,6 @@ int libvlc_audio_get_volume( libvlc_media_player_t *mp )
...
@@ -329,7 +327,6 @@ int libvlc_audio_get_volume( libvlc_media_player_t *mp )
{
{
audio_volume_t
i_volume
;
audio_volume_t
i_volume
;
#warning FIXME: no playlist
aout_VolumeGet
(
mp
,
&
i_volume
);
aout_VolumeGet
(
mp
,
&
i_volume
);
return
(
i_volume
*
200
+
AOUT_VOLUME_MAX
/
2
)
/
AOUT_VOLUME_MAX
;
return
(
i_volume
*
200
+
AOUT_VOLUME_MAX
/
2
)
/
AOUT_VOLUME_MAX
;
...
@@ -348,7 +345,6 @@ int libvlc_audio_set_volume( libvlc_media_player_t *mp, int i_volume )
...
@@ -348,7 +345,6 @@ int libvlc_audio_set_volume( libvlc_media_player_t *mp, int i_volume )
}
}
i_volume
=
(
i_volume
*
AOUT_VOLUME_MAX
+
100
)
/
200
;
i_volume
=
(
i_volume
*
AOUT_VOLUME_MAX
+
100
)
/
200
;
#warning FIXME: no playlist
aout_VolumeSet
(
mp
,
i_volume
);
aout_VolumeSet
(
mp
,
i_volume
);
return
0
;
return
0
;
}
}
...
...
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