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
98094e9e
Commit
98094e9e
authored
Jul 26, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cometics.
parent
28b51ff8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
modules/audio_output/directx.c
modules/audio_output/directx.c
+14
-14
No files found.
modules/audio_output/directx.c
View file @
98094e9e
...
...
@@ -482,21 +482,21 @@ static void Probe( aout_instance_t * p_aout )
AOUT_CHAN_CENTER
|
AOUT_CHAN_REARLEFT
|
AOUT_CHAN_MIDDLELEFT
|
AOUT_CHAN_MIDDLERIGHT
|
AOUT_CHAN_REARRIGHT
|
AOUT_CHAN_LFE
;
if
(
p_aout
->
output
.
output
.
i_physical_channels
==
i_physical_channels
)
{
if
(
CreateDSBufferPCM
(
p_aout
,
&
i_format
,
i_physical_channels
,
8
,
if
(
p_aout
->
output
.
output
.
i_physical_channels
==
i_physical_channels
)
{
if
(
CreateDSBufferPCM
(
p_aout
,
&
i_format
,
i_physical_channels
,
8
,
p_aout
->
output
.
output
.
i_rate
,
true
)
==
VLC_SUCCESS
)
{
val
.
i_int
=
AOUT_VAR_7_1
;
text
.
psz_string
=
(
char
*
)
"7.1"
;
var_Change
(
p_aout
,
"audio-device"
,
VLC_VAR_ADDCHOICE
,
&
val
,
&
text
);
var_Change
(
p_aout
,
"audio-device"
,
VLC_VAR_SETDEFAULT
,
&
val
,
NULL
);
is_default_output_set
=
true
;
msg_Dbg
(
p_aout
,
"device supports 7.1 channels"
);
}
}
==
VLC_SUCCESS
)
{
val
.
i_int
=
AOUT_VAR_7_1
;
text
.
psz_string
=
(
char
*
)
"7.1"
;
var_Change
(
p_aout
,
"audio-device"
,
VLC_VAR_ADDCHOICE
,
&
val
,
&
text
);
var_Change
(
p_aout
,
"audio-device"
,
VLC_VAR_SETDEFAULT
,
&
val
,
NULL
);
is_default_output_set
=
true
;
msg_Dbg
(
p_aout
,
"device supports 7.1 channels"
);
}
}
/* Test for 3 Front 2 Rear support */
i_physical_channels
=
AOUT_CHAN_LEFT
|
AOUT_CHAN_RIGHT
|
...
...
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