Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
2d5c4944
Commit
2d5c4944
authored
Jun 08, 2010
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Jun 08, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dsound: Unofficially support 5.1 sound.
parent
f5edb4ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
mixer.c
dlls/dsound/mixer.c
+2
-1
No files found.
dlls/dsound/mixer.c
View file @
2d5c4944
...
...
@@ -277,7 +277,8 @@ static inline void cp_fields(const IDirectSoundBufferImpl *dsb, const BYTE *ibuf
DirectSoundDevice
*
device
=
dsb
->
device
;
INT
istep
=
dsb
->
pwfx
->
wBitsPerSample
/
8
,
ostep
=
device
->
pwfx
->
wBitsPerSample
/
8
;
if
(
device
->
pwfx
->
nChannels
==
dsb
->
pwfx
->
nChannels
)
{
if
(
device
->
pwfx
->
nChannels
==
dsb
->
pwfx
->
nChannels
||
(
device
->
pwfx
->
nChannels
==
2
&&
dsb
->
pwfx
->
nChannels
==
6
))
{
dsb
->
convert
(
ibuf
,
obuf
,
istride
,
ostride
,
count
,
freqAcc
,
adj
);
if
(
device
->
pwfx
->
nChannels
==
2
)
dsb
->
convert
(
ibuf
+
istep
,
obuf
+
ostep
,
istride
,
ostride
,
count
,
freqAcc
,
adj
);
...
...
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