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
b67164d2
Commit
b67164d2
authored
Apr 24, 2007
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Apr 27, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winealsa: Unset WAVECAPS_DIRECTSOUND properly for capture.
parent
b3fab140
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
waveinit.c
dlls/winealsa.drv/waveinit.c
+6
-6
No files found.
dlls/winealsa.drv/waveinit.c
View file @
b67164d2
...
...
@@ -504,12 +504,6 @@ static int ALSA_AddCaptureDevice(snd_ctl_t *ctl, snd_pcm_t *pcm, const char *pcm
wwi
.
incaps
.
wPid
=
MM_CREATIVE_SBP16_WAVEOUT
;
wwi
.
incaps
.
vDriverVersion
=
0x0100
;
if
(
wwi
.
ds_caps
.
dwFlags
&
WAVECAPS_DIRECTSOUND
)
{
FIXME
(
"Add support for DSCapture
\n
"
);
wwi
.
ds_caps
.
dwFlags
&=
~
WAVECAPS_DIRECTSOUND
;
}
rc
=
ALSA_ComputeCaps
(
ctl
,
pcm
,
&
wwi
.
incaps
.
wChannels
,
&
wwi
.
ds_caps
.
dwFlags
,
&
wwi
.
incaps
.
dwFormats
,
&
wwi
.
dwSupport
);
if
(
rc
)
...
...
@@ -519,6 +513,12 @@ static int ALSA_AddCaptureDevice(snd_ctl_t *ctl, snd_pcm_t *pcm, const char *pcm
return
(
rc
);
}
if
(
wwi
.
dwSupport
&
WAVECAPS_DIRECTSOUND
)
{
FIXME
(
"Add support for DSCapture
\n
"
);
wwi
.
dwSupport
&=
~
WAVECAPS_DIRECTSOUND
;
}
rc
=
ALSA_AddDeviceToArray
(
&
wwi
,
&
WInDev
,
&
ALSA_WidNumDevs
,
&
ALSA_WidNumMallocedDevs
,
isdefault
);
if
(
rc
)
ALSA_FreeDevice
(
&
wwi
);
...
...
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