Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
9394b1be
Commit
9394b1be
authored
Nov 05, 2004
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/audio_output/waveout.c,directx.c: fixed audio channel ordering.
parent
5344ba81
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
modules/audio_output/directx.c
modules/audio_output/directx.c
+3
-3
modules/audio_output/waveout.c
modules/audio_output/waveout.c
+3
-3
No files found.
modules/audio_output/directx.c
View file @
9394b1be
...
...
@@ -673,10 +673,10 @@ static int CreateDSBuffer( aout_instance_t *p_aout, int i_format,
/* First set the sound buffer format */
waveformat
.
dwChannelMask
=
0
;
for
(
i
=
0
;
i
<
sizeof
(
pi_channels_
in
)
/
sizeof
(
uint32_t
);
i
++
)
for
(
i
=
0
;
i
<
sizeof
(
pi_channels_
src
)
/
sizeof
(
uint32_t
);
i
++
)
{
if
(
i_channels
&
pi_channels_
in
[
i
]
)
waveformat
.
dwChannelMask
|=
pi_channels_
out
[
i
];
if
(
i_channels
&
pi_channels_
src
[
i
]
)
waveformat
.
dwChannelMask
|=
pi_channels_
in
[
i
];
}
switch
(
i_format
)
...
...
modules/audio_output/waveout.c
View file @
9394b1be
...
...
@@ -494,10 +494,10 @@ static int OpenWaveOut( aout_instance_t *p_aout, int i_format,
#define waveformat p_aout->output.p_sys->waveformat
waveformat
.
dwChannelMask
=
0
;
for
(
i
=
0
;
i
<
sizeof
(
pi_channels_
in
)
/
sizeof
(
uint32_t
);
i
++
)
for
(
i
=
0
;
i
<
sizeof
(
pi_channels_
src
)
/
sizeof
(
uint32_t
);
i
++
)
{
if
(
i_channels
&
pi_channels_
in
[
i
]
)
waveformat
.
dwChannelMask
|=
pi_channels_
out
[
i
];
if
(
i_channels
&
pi_channels_
src
[
i
]
)
waveformat
.
dwChannelMask
|=
pi_channels_
in
[
i
];
}
switch
(
i_format
)
...
...
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