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
8f95eae9
Commit
8f95eae9
authored
Aug 08, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
aout: document event callbacks
parent
046570ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
include/vlc_aout.h
include/vlc_aout.h
+15
-0
No files found.
include/vlc_aout.h
View file @
8f95eae9
...
...
@@ -224,21 +224,36 @@ VLC_API void aout_FormatPrint(vlc_object_t *, const char *,
#define aout_FormatPrint(o, t, f) aout_FormatPrint(VLC_OBJECT(o), t, f)
VLC_API
const
char
*
aout_FormatPrintChannels
(
const
audio_sample_format_t
*
)
VLC_USED
;
/**
* Report change of configured audio volume to the core and UI.
*/
static
inline
void
aout_VolumeReport
(
audio_output_t
*
aout
,
float
volume
)
{
aout
->
event
.
volume_report
(
aout
,
volume
);
}
/**
* Report change of muted flag to the core and UI.
*/
static
inline
void
aout_MuteReport
(
audio_output_t
*
aout
,
bool
mute
)
{
aout
->
event
.
mute_report
(
aout
,
mute
);
}
/**
* Report audio policy status.
* \parm cork true to request a cork, false to undo any pending cork.
*/
static
inline
void
aout_PolicyReport
(
audio_output_t
*
aout
,
bool
cork
)
{
aout
->
event
.
policy_report
(
aout
,
cork
);
}
/**
* Request a change of software audio amplification.
* \param gain linear amplitude gain (must be positive)
* \warning Values in excess 1.0 may cause overflow and distorsion.
*/
static
inline
int
aout_GainRequest
(
audio_output_t
*
aout
,
float
gain
)
{
return
aout
->
event
.
gain_request
(
aout
,
gain
);
...
...
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