Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
456
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
282c9fd3
Commit
282c9fd3
authored
6 years ago
by
Thomas Guillem
Browse files
Options
Downloads
Patches
Plain Diff
aout: the stop implementation is now mandatory
parent
2049d408
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/vlc_aout.h
+1
-1
1 addition, 1 deletion
include/vlc_aout.h
src/audio_output/output.c
+1
-2
1 addition, 2 deletions
src/audio_output/output.c
with
2 additions
and
3 deletions
include/vlc_aout.h
+
1
−
1
View file @
282c9fd3
...
...
@@ -159,7 +159,7 @@ struct audio_output
*/
void
(
*
stop
)(
audio_output_t
*
);
/**< Stops the existing stream (
optional, may
be NULL).
/**< Stops the existing stream (
mandatory, cannot
be NULL).
*
* This callback terminates the current audio stream,
* and returns the audio output to stopped state.
...
...
This diff is collapsed.
Click to expand it.
src/audio_output/output.c
+
1
−
2
View file @
282c9fd3
...
...
@@ -609,8 +609,7 @@ int aout_OutputNew (audio_output_t *aout, audio_sample_format_t *restrict fmt,
void
aout_OutputDelete
(
audio_output_t
*
aout
)
{
aout_OutputLock
(
aout
);
if
(
aout
->
stop
!=
NULL
)
aout
->
stop
(
aout
);
aout
->
stop
(
aout
);
aout_OutputUnlock
(
aout
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment