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
768df457
Commit
768df457
authored
Jan 07, 2003
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed another very nasty localization bug.
parent
fd0afca1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
modules/audio_output/oss.c
modules/audio_output/oss.c
+11
-3
No files found.
modules/audio_output/oss.c
View file @
768df457
...
...
@@ -2,7 +2,7 @@
* oss.c : OSS /dev/dsp module for vlc
*****************************************************************************
* Copyright (C) 2000-2002 VideoLAN
* $Id: oss.c,v 1.4
2 2003/01/07 14:58:33
massiot Exp $
* $Id: oss.c,v 1.4
3 2003/01/07 15:12:15
massiot Exp $
*
* Authors: Michel Kaempf <maxx@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -290,17 +290,25 @@ static int Open( vlc_object_t *p_this )
=
AOUT_CHAN_LEFT
|
AOUT_CHAN_RIGHT
|
AOUT_CHAN_REARLEFT
|
AOUT_CHAN_REARLEFT
;
}
else
if
(
!
strcmp
(
val
.
psz_string
,
"Stereo"
)
)
else
if
(
!
strcmp
(
val
.
psz_string
,
N_
(
"Stereo"
)
)
)
{
p_aout
->
output
.
output
.
i_format
=
AOUT_FMT_S16_NE
;
p_aout
->
output
.
output
.
i_physical_channels
=
AOUT_CHAN_LEFT
|
AOUT_CHAN_RIGHT
;
}
else
if
(
!
strcmp
(
val
.
psz_string
,
"Mono"
)
)
else
if
(
!
strcmp
(
val
.
psz_string
,
N_
(
"Mono"
)
)
)
{
p_aout
->
output
.
output
.
i_format
=
AOUT_FMT_S16_NE
;
p_aout
->
output
.
output
.
i_physical_channels
=
AOUT_CHAN_CENTER
;
}
else
{
/* This should not happen ! */
msg_Err
(
p_aout
,
"internal: can't find audio-device (%s)"
,
val
.
psz_string
);
free
(
p_sys
);
return
VLC_EGENERIC
;
}
free
(
val
.
psz_string
);
/* Reset the DSP device */
...
...
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