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
a1416de0
Commit
a1416de0
authored
Jan 31, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Kill one exception
parent
bcc064f2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
8 deletions
+5
-8
include/vlc/libvlc_media_player.h
include/vlc/libvlc_media_player.h
+4
-5
src/control/audio.c
src/control/audio.c
+1
-3
No files found.
include/vlc/libvlc_media_player.h
View file @
a1416de0
...
...
@@ -933,13 +933,12 @@ typedef enum libvlc_audio_output_channel_t {
* Get the list of available audio outputs
*
* \param p_instance libvlc instance
* \
param p_e an initialized exception pointer
* \return list of available audio outputs, at the end free it with
* \see libvlc_audio_output_list_release \see libvlc_audio_output_t
* \
return list of available audio outputs. It must be freed it with
* \see libvlc_audio_output_list_release \see libvlc_audio_output_t .
* In case of error, NULL is returned.
*/
VLC_PUBLIC_API
libvlc_audio_output_t
*
libvlc_audio_output_list_get
(
libvlc_instance_t
*
,
libvlc_exception_t
*
);
libvlc_audio_output_list_get
(
libvlc_instance_t
*
);
/**
* Free the list of available audio outputs
...
...
src/control/audio.c
View file @
a1416de0
...
...
@@ -64,8 +64,7 @@ static aout_instance_t *GetAOut( libvlc_instance_t *p_instance,
* Get the list of available audio outputs
*****************************************/
libvlc_audio_output_t
*
libvlc_audio_output_list_get
(
libvlc_instance_t
*
p_instance
,
libvlc_exception_t
*
p_e
)
libvlc_audio_output_list_get
(
libvlc_instance_t
*
p_instance
)
{
VLC_UNUSED
(
p_instance
);
libvlc_audio_output_t
*
p_list
=
NULL
,
...
...
@@ -85,7 +84,6 @@ libvlc_audio_output_t *
malloc
(
sizeof
(
libvlc_audio_output_t
)
);
if
(
p_actual
==
NULL
)
{
libvlc_exception_raise
(
p_e
);
libvlc_printerr
(
"Not enough memory"
);
libvlc_audio_output_list_release
(
p_list
);
module_list_free
(
module_list
);
...
...
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