Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
c83f667f
Commit
c83f667f
authored
Jan 28, 2003
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not show the channels menu when the input stream is mono, closing #117.
parent
677963f1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/audio_output/output.c
src/audio_output/output.c
+4
-2
No files found.
src/audio_output/output.c
View file @
c83f667f
...
...
@@ -2,7 +2,7 @@
* output.c : internal management of output streams for the audio output
*****************************************************************************
* Copyright (C) 2002 VideoLAN
* $Id: output.c,v 1.3
4
2003/01/2
7 22:50:01 sam
Exp $
* $Id: output.c,v 1.3
5
2003/01/2
8 12:23:40 massiot
Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -117,7 +117,9 @@ int aout_OutputNew( aout_instance_t * p_aout,
NULL
);
}
else
if
(
p_aout
->
output
.
output
.
i_physical_channels
==
(
AOUT_CHAN_LEFT
|
AOUT_CHAN_RIGHT
)
)
(
AOUT_CHAN_LEFT
|
AOUT_CHAN_RIGHT
)
&&
(
p_aout
->
output
.
output
.
i_original_channels
&
(
AOUT_CHAN_LEFT
|
AOUT_CHAN_RIGHT
))
)
{
/* Stereo - create the audio-channels variable. */
var_Create
(
p_aout
,
"audio-channels"
,
VLC_VAR_STRING
|
VLC_VAR_HASCHOICE
);
...
...
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