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
a672233d
Commit
a672233d
authored
Feb 07, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aout interface: remove leading underscores
parent
37a5c2e9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
21 deletions
+26
-21
include/vlc_aout.h
include/vlc_aout.h
+10
-10
src/audio_output/intf.c
src/audio_output/intf.c
+11
-6
src/libvlccore.sym
src/libvlccore.sym
+5
-5
No files found.
include/vlc_aout.h
View file @
a672233d
...
...
@@ -312,16 +312,16 @@ VLC_EXPORT( aout_buffer_t *, aout_FifoPop, ( aout_instance_t * p_aout, aout_fifo
/* From intf.c : */
VLC_EXPORT
(
void
,
aout_VolumeSoftInit
,
(
aout_instance_t
*
)
);
VLC_EXPORT
(
void
,
aout_VolumeNoneInit
,
(
aout_instance_t
*
)
);
#define aout_VolumeGet(a, b) __aout_VolumeGet(VLC_OBJECT(a), b)
VLC_EXPORT
(
int
,
__aout_VolumeGet
,
(
vlc_object_t
*
,
audio_volume_t
*
)
);
#define aout_VolumeSet(a, b) __aout_VolumeSet(VLC_OBJECT(a), b)
VLC_EXPORT
(
int
,
__aout_VolumeSet
,
(
vlc_object_t
*
,
audio_volume_t
)
);
#define aout_VolumeUp(a, b, c) __aout_VolumeUp(VLC_OBJECT(a), b, c)
VLC_EXPORT
(
int
,
__aout_VolumeUp
,
(
vlc_object_t
*
,
int
,
audio_volume_t
*
)
);
#define aout_VolumeDown(a, b, c) __aout_VolumeDown(VLC_OBJECT(a), b, c)
VLC_EXPORT
(
int
,
__aout_VolumeDown
,
(
vlc_object_t
*
,
int
,
audio_volume_t
*
)
);
#define aout_ToggleMute(a, b) __aout_ToggleMute(VLC_OBJECT(a), b)
VLC_EXPORT
(
int
,
__aout_ToggleMute
,
(
vlc_object_t
*
,
audio_volume_t
*
)
);
VLC_EXPORT
(
int
,
aout_VolumeGet
,
(
vlc_object_t
*
,
audio_volume_t
*
)
);
#define aout_VolumeGet(a, b) aout_VolumeGet(VLC_OBJECT(a), b)
VLC_EXPORT
(
int
,
aout_VolumeSet
,
(
vlc_object_t
*
,
audio_volume_t
)
);
#define aout_VolumeSet(a, b) aout_VolumeSet(VLC_OBJECT(a), b)
VLC_EXPORT
(
int
,
aout_VolumeUp
,
(
vlc_object_t
*
,
int
,
audio_volume_t
*
)
);
#define aout_VolumeUp(a, b, c) aout_VolumeUp(VLC_OBJECT(a), b, c)
VLC_EXPORT
(
int
,
aout_VolumeDown
,
(
vlc_object_t
*
,
int
,
audio_volume_t
*
)
);
#define aout_VolumeDown(a, b, c) aout_VolumeDown(VLC_OBJECT(a), b, c)
VLC_EXPORT
(
int
,
aout_ToggleMute
,
(
vlc_object_t
*
,
audio_volume_t
*
)
);
#define aout_ToggleMute(a, b) aout_ToggleMute(VLC_OBJECT(a), b)
VLC_EXPORT
(
int
,
aout_SetMute
,
(
vlc_object_t
*
,
audio_volume_t
*
,
bool
)
);
VLC_EXPORT
(
bool
,
aout_IsMuted
,
(
vlc_object_t
*
)
);
VLC_EXPORT
(
int
,
aout_FindAndRestart
,
(
vlc_object_t
*
,
const
char
*
,
vlc_value_t
,
vlc_value_t
,
void
*
)
);
...
...
src/audio_output/intf.c
View file @
a672233d
...
...
@@ -187,10 +187,11 @@ int doVolumeChanges( unsigned action, vlc_object_t * p_object, int i_nb_steps,
return
i_result
;
}
#undef aout_VolumeGet
/*****************************************************************************
* aout_VolumeGet : get the volume of the output device
*****************************************************************************/
int
__
aout_VolumeGet
(
vlc_object_t
*
p_object
,
audio_volume_t
*
pi_volume
)
int
aout_VolumeGet
(
vlc_object_t
*
p_object
,
audio_volume_t
*
pi_volume
)
{
int
i_result
=
0
;
aout_instance_t
*
p_aout
=
findAout
(
p_object
);
...
...
@@ -220,45 +221,49 @@ int __aout_VolumeGet( vlc_object_t * p_object, audio_volume_t * pi_volume )
return
i_result
;
}
#undef aout_VolumeSet
/*****************************************************************************
* aout_VolumeSet : set the volume of the output device
*****************************************************************************/
int
__
aout_VolumeSet
(
vlc_object_t
*
p_object
,
audio_volume_t
i_volume
)
int
aout_VolumeSet
(
vlc_object_t
*
p_object
,
audio_volume_t
i_volume
)
{
return
doVolumeChanges
(
SET_VOLUME
,
p_object
,
1
,
i_volume
,
NULL
,
true
);
}
#undef aout_VolumeUp
/*****************************************************************************
* aout_VolumeUp : raise the output volume
*****************************************************************************
* If pi_volume != NULL, *pi_volume will contain the volume at the end of the
* function.
*****************************************************************************/
int
__
aout_VolumeUp
(
vlc_object_t
*
p_object
,
int
i_nb_steps
,
int
aout_VolumeUp
(
vlc_object_t
*
p_object
,
int
i_nb_steps
,
audio_volume_t
*
pi_volume
)
{
return
doVolumeChanges
(
INCREMENT_VOLUME
,
p_object
,
i_nb_steps
,
0
,
pi_volume
,
true
);
}
#undef aout_VolumeDown
/*****************************************************************************
* aout_VolumeDown : lower the output volume
*****************************************************************************
* If pi_volume != NULL, *pi_volume will contain the volume at the end of the
* function.
*****************************************************************************/
int
__
aout_VolumeDown
(
vlc_object_t
*
p_object
,
int
i_nb_steps
,
int
aout_VolumeDown
(
vlc_object_t
*
p_object
,
int
i_nb_steps
,
audio_volume_t
*
pi_volume
)
{
return
__
aout_VolumeUp
(
p_object
,
-
i_nb_steps
,
pi_volume
);
return
aout_VolumeUp
(
p_object
,
-
i_nb_steps
,
pi_volume
);
}
#undef aout_ToggleMute
/*****************************************************************************
* aout_ToggleMute : Mute/un-mute the output volume
*****************************************************************************
* If pi_volume != NULL, *pi_volume will contain the volume at the end of the
* function (muted => 0).
*****************************************************************************/
int
__
aout_ToggleMute
(
vlc_object_t
*
p_object
,
audio_volume_t
*
pi_volume
)
int
aout_ToggleMute
(
vlc_object_t
*
p_object
,
audio_volume_t
*
pi_volume
)
{
return
doVolumeChanges
(
TOGGLE_MUTE
,
p_object
,
1
,
0
,
pi_volume
,
true
);
}
...
...
src/libvlccore.sym
View file @
a672233d
...
...
@@ -22,15 +22,15 @@ aout_FormatPrepare
aout_FormatPrint
aout_FormatPrintChannels
aout_OutputNextBuffer
__
aout_VolumeDown
__
aout_VolumeGet
__
aout_ToggleMute
aout_VolumeDown
aout_VolumeGet
aout_ToggleMute
aout_IsMuted
aout_SetMute
aout_VolumeNoneInit
__
aout_VolumeSet
aout_VolumeSet
aout_VolumeSoftInit
__
aout_VolumeUp
aout_VolumeUp
block_Alloc
block_FifoCount
block_FifoEmpty
...
...
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