Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
d40a1961
Commit
d40a1961
authored
May 09, 2003
by
sigmunau
Browse files
oss.c: give a warning if --spdif is set but the sourndcard don't support it.
parent
dbdbc782
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/audio_output/oss.c
View file @
d40a1961
...
...
@@ -2,7 +2,7 @@
* oss.c : OSS /dev/dsp module for vlc
*****************************************************************************
* Copyright (C) 2000-2002 VideoLAN
* $Id: oss.c,v 1.5
8
2003/05/0
4
22:
42:15 gbazin
Exp $
* $Id: oss.c,v 1.5
9
2003/05/0
9
22:
03:06 sigmunau
Exp $
*
* Authors: Michel Kaempf <maxx@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
...
...
@@ -249,7 +249,11 @@ static void Probe( aout_instance_t * p_aout )
if
(
config_GetInt
(
p_aout
,
"spdif"
)
)
var_Set
(
p_aout
,
"audio-device"
,
val
);
}
}
else
if
(
config_GetInt
(
p_aout
,
"spdif"
)
)
{
msg_Warn
(
p_aout
,
"s/pdif not supported by card"
);
}
}
var_AddCallback
(
p_aout
,
"audio-device"
,
aout_ChannelsRestart
,
NULL
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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