Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
d40a1961
Commit
d40a1961
authored
May 09, 2003
by
Sigmund Augdal Helberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oss.c: give a warning if --spdif is set but the sourndcard don't support it.
parent
dbdbc782
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
modules/audio_output/oss.c
modules/audio_output/oss.c
+6
-2
No files found.
modules/audio_output/oss.c
View file @
d40a1961
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* oss.c : OSS /dev/dsp module for vlc
* oss.c : OSS /dev/dsp module for vlc
*****************************************************************************
*****************************************************************************
* Copyright (C) 2000-2002 VideoLAN
* Copyright (C) 2000-2002 VideoLAN
* $Id: oss.c,v 1.5
8 2003/05/04 22:42:15 gbazin
Exp $
* $Id: oss.c,v 1.5
9 2003/05/09 22:03:06 sigmunau
Exp $
*
*
* Authors: Michel Kaempf <maxx@via.ecp.fr>
* Authors: Michel Kaempf <maxx@via.ecp.fr>
* Samuel Hocevar <sam@zoy.org>
* Samuel Hocevar <sam@zoy.org>
...
@@ -249,6 +249,10 @@ static void Probe( aout_instance_t * p_aout )
...
@@ -249,6 +249,10 @@ static void Probe( aout_instance_t * p_aout )
if
(
config_GetInt
(
p_aout
,
"spdif"
)
)
if
(
config_GetInt
(
p_aout
,
"spdif"
)
)
var_Set
(
p_aout
,
"audio-device"
,
val
);
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
,
var_AddCallback
(
p_aout
,
"audio-device"
,
aout_ChannelsRestart
,
...
...
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