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
4e82695c
Commit
4e82695c
authored
Jan 13, 2003
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compilation fix.
parent
425dd277
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
modules/audio_output/sdl.c
modules/audio_output/sdl.c
+2
-3
No files found.
modules/audio_output/sdl.c
View file @
4e82695c
...
...
@@ -2,7 +2,7 @@
* sdl.c : SDL audio output plugin for vlc
*****************************************************************************
* Copyright (C) 2000-2002 VideoLAN
* $Id: sdl.c,v 1.
19 2003/01/13 14:51:25
massiot Exp $
* $Id: sdl.c,v 1.
20 2003/01/13 16:58:58
massiot Exp $
*
* Authors: Michel Kaempf <maxx@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -79,6 +79,7 @@ static int Open ( vlc_object_t *p_this )
aout_instance_t
*
p_aout
=
(
aout_instance_t
*
)
p_this
;
SDL_AudioSpec
desired
,
obtained
;
int
i_nb_channels
;
vlc_value_t
val
;
/* Check that no one uses the DSP. */
Uint32
i_flags
=
SDL_INIT_AUDIO
;
...
...
@@ -172,7 +173,6 @@ static int Open ( vlc_object_t *p_this )
if
(
var_Type
(
p_aout
,
"audio-device"
)
==
0
)
{
vlc_value_t
val
;
var_Create
(
p_aout
,
"audio-device"
,
VLC_VAR_STRING
|
VLC_VAR_HASCHOICE
);
val
.
psz_string
=
(
obtained
.
channels
==
2
)
?
N_
(
"Stereo"
)
:
N_
(
"Mono"
);
...
...
@@ -184,7 +184,6 @@ static int Open ( vlc_object_t *p_this )
else
if
(
var_Type
(
p_aout
,
"audio-device"
)
==
0
)
{
/* First launch. */
vlc_value_t
val
;
var_Create
(
p_aout
,
"audio-device"
,
VLC_VAR_STRING
|
VLC_VAR_HASCHOICE
);
val
.
psz_string
=
N_
(
"Stereo"
);
var_Change
(
p_aout
,
"audio-device"
,
VLC_VAR_ADDCHOICE
,
&
val
);
...
...
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