Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
05320812
Commit
05320812
authored
Dec 30, 2009
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DirectX audio output: kill config_Get
parent
5f794a2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/audio_output/directx.c
modules/audio_output/directx.c
+2
-2
No files found.
modules/audio_output/directx.c
View file @
05320812
...
@@ -553,7 +553,7 @@ static void Probe( aout_instance_t * p_aout )
...
@@ -553,7 +553,7 @@ static void Probe( aout_instance_t * p_aout )
text
.
psz_string
=
_
(
"A/52 over S/PDIF"
);
text
.
psz_string
=
_
(
"A/52 over S/PDIF"
);
var_Change
(
p_aout
,
"audio-device"
,
var_Change
(
p_aout
,
"audio-device"
,
VLC_VAR_ADDCHOICE
,
&
val
,
&
text
);
VLC_VAR_ADDCHOICE
,
&
val
,
&
text
);
if
(
config_GetInt
(
p_aout
,
"spdif"
)
)
if
(
var_InheritInteger
(
p_aout
,
"spdif"
)
)
var_Set
(
p_aout
,
"audio-device"
,
val
);
var_Set
(
p_aout
,
"audio-device"
,
val
);
}
}
}
}
...
@@ -702,7 +702,7 @@ static int InitDirectSound( aout_instance_t *p_aout )
...
@@ -702,7 +702,7 @@ static int InitDirectSound( aout_instance_t *p_aout )
"DirectSoundEnumerateW"
);
"DirectSoundEnumerateW"
);
if
(
OurDirectSoundEnumerate
)
if
(
OurDirectSoundEnumerate
)
{
{
p_aout
->
output
.
p_sys
->
psz_device
=
config_GetPsz
(
p_aout
,
"directx-audio-device-name"
);
p_aout
->
output
.
p_sys
->
psz_device
=
var_InheritString
(
p_aout
,
"directx-audio-device-name"
);
/* Attempt enumeration */
/* Attempt enumeration */
if
(
FAILED
(
OurDirectSoundEnumerate
(
CallBackDirectSoundEnum
,
if
(
FAILED
(
OurDirectSoundEnumerate
(
CallBackDirectSoundEnum
,
p_aout
)
)
)
p_aout
)
)
)
...
...
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