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
0f18bb0f
Commit
0f18bb0f
authored
Jan 25, 2005
by
Christian Costa
Committed by
Alexandre Julliard
Jan 25, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed pin direction when registering audio input device.
parent
aaa5921f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
createdevenum.c
dlls/devenum/createdevenum.c
+3
-1
No files found.
dlls/devenum/createdevenum.c
View file @
0f18bb0f
...
@@ -230,7 +230,6 @@ static HRESULT DEVENUM_CreateSpecialCategories()
...
@@ -230,7 +230,6 @@ static HRESULT DEVENUM_CreateSpecialCategories()
rf2
.
dwMerit
=
MERIT_PREFERRED
;
rf2
.
dwMerit
=
MERIT_PREFERRED
;
rf2
.
u
.
s1
.
cPins2
=
1
;
rf2
.
u
.
s1
.
cPins2
=
1
;
rf2
.
u
.
s1
.
rgPins2
=
&
rfp2
;
rf2
.
u
.
s1
.
rgPins2
=
&
rfp2
;
rfp2
.
dwFlags
=
REG_PINFLAG_B_RENDERER
;
rfp2
.
cInstances
=
1
;
rfp2
.
cInstances
=
1
;
rfp2
.
nMediums
=
0
;
rfp2
.
nMediums
=
0
;
rfp2
.
lpMedium
=
NULL
;
rfp2
.
lpMedium
=
NULL
;
...
@@ -261,6 +260,7 @@ static HRESULT DEVENUM_CreateSpecialCategories()
...
@@ -261,6 +260,7 @@ static HRESULT DEVENUM_CreateSpecialCategories()
if
(
FAILED
(
res
))
/* can't register any devices in this category */
if
(
FAILED
(
res
))
/* can't register any devices in this category */
numDevs
=
0
;
numDevs
=
0
;
rfp2
.
dwFlags
=
REG_PINFLAG_B_RENDERER
;
for
(
i
=
0
;
i
<
numDevs
;
i
++
)
for
(
i
=
0
;
i
<
numDevs
;
i
++
)
{
{
if
(
waveOutGetDevCapsW
(
i
,
&
wocaps
,
sizeof
(
WAVEOUTCAPSW
))
if
(
waveOutGetDevCapsW
(
i
,
&
wocaps
,
sizeof
(
WAVEOUTCAPSW
))
...
@@ -324,6 +324,7 @@ static HRESULT DEVENUM_CreateSpecialCategories()
...
@@ -324,6 +324,7 @@ static HRESULT DEVENUM_CreateSpecialCategories()
if
(
FAILED
(
res
))
/* can't register any devices in this category */
if
(
FAILED
(
res
))
/* can't register any devices in this category */
numDevs
=
0
;
numDevs
=
0
;
rfp2
.
dwFlags
=
REG_PINFLAG_B_OUTPUT
;
for
(
i
=
0
;
i
<
numDevs
;
i
++
)
for
(
i
=
0
;
i
<
numDevs
;
i
++
)
{
{
if
(
waveInGetDevCapsW
(
i
,
&
wicaps
,
sizeof
(
WAVEINCAPSW
))
if
(
waveInGetDevCapsW
(
i
,
&
wicaps
,
sizeof
(
WAVEINCAPSW
))
...
@@ -368,6 +369,7 @@ static HRESULT DEVENUM_CreateSpecialCategories()
...
@@ -368,6 +369,7 @@ static HRESULT DEVENUM_CreateSpecialCategories()
if
(
FAILED
(
res
))
/* can't register any devices in this category */
if
(
FAILED
(
res
))
/* can't register any devices in this category */
numDevs
=
0
;
numDevs
=
0
;
rfp2
.
dwFlags
=
REG_PINFLAG_B_RENDERER
;
for
(
i
=
0
;
i
<
numDevs
;
i
++
)
for
(
i
=
0
;
i
<
numDevs
;
i
++
)
{
{
if
(
midiOutGetDevCapsW
(
i
,
&
mocaps
,
sizeof
(
MIDIOUTCAPSW
))
if
(
midiOutGetDevCapsW
(
i
,
&
mocaps
,
sizeof
(
MIDIOUTCAPSW
))
...
...
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