Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
44c25d29
Commit
44c25d29
authored
Jul 10, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvlc_audio_output_set: really force the requested output
parent
629dbd8a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
src/control/audio.c
src/control/audio.c
+6
-2
No files found.
src/control/audio.c
View file @
44c25d29
...
...
@@ -133,9 +133,13 @@ void libvlc_audio_output_list_release( libvlc_audio_output_t *p_list )
***********************/
int
libvlc_audio_output_set
(
libvlc_media_player_t
*
mp
,
const
char
*
psz_name
)
{
if
(
!
module_exists
(
psz_name
)
)
char
*
value
;
if
(
!
module_exists
(
psz_name
)
||
asprintf
(
&
value
,
"%s,none"
,
psz_name
)
==
-
1
)
return
-
1
;
var_SetString
(
mp
,
"aout"
,
psz_name
);
var_SetString
(
mp
,
"aout"
,
value
);
free
(
value
);
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