Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
9a577e5e
Commit
9a577e5e
authored
Jan 17, 2006
by
Alex Villacís Lasso
Committed by
Alexandre Julliard
Jan 17, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msacm: Add support for ACM_METRIC_DRIVER_SUPPORT.
parent
db7a3a35
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
msacm32_main.c
dlls/msacm/msacm32_main.c
+17
-1
No files found.
dlls/msacm/msacm32_main.c
View file @
9a577e5e
...
@@ -235,10 +235,26 @@ MMRESULT WINAPI acmMetrics(HACMOBJ hao, UINT uMetric, LPVOID pMetric)
...
@@ -235,10 +235,26 @@ MMRESULT WINAPI acmMetrics(HACMOBJ hao, UINT uMetric, LPVOID pMetric)
}
}
break
;
break
;
case
ACM_METRIC_DRIVER_SUPPORT
:
/* Return fdwSupport for driver */
if
(
!
hao
)
return
MMSYSERR_INVALHANDLE
;
mmr
=
MMSYSERR_INVALHANDLE
;
for
(
padid
=
MSACM_pFirstACMDriverID
;
padid
;
padid
=
padid
->
pNextACMDriverID
)
{
if
(
padid
==
(
PWINE_ACMDRIVERID
)
hao
)
{
if
(
pMetric
)
{
*
(
LPDWORD
)
pMetric
=
padid
->
fdwSupport
;
mmr
=
MMSYSERR_NOERROR
;
}
else
{
mmr
=
MMSYSERR_INVALPARAM
;
}
break
;
}
}
break
;
case
ACM_METRIC_HARDWARE_WAVE_INPUT
:
case
ACM_METRIC_HARDWARE_WAVE_INPUT
:
case
ACM_METRIC_HARDWARE_WAVE_OUTPUT
:
case
ACM_METRIC_HARDWARE_WAVE_OUTPUT
:
case
ACM_METRIC_MAX_SIZE_FILTER
:
case
ACM_METRIC_MAX_SIZE_FILTER
:
case
ACM_METRIC_DRIVER_SUPPORT
:
default:
default:
FIXME
(
"(%p, %d, %p): stub
\n
"
,
hao
,
uMetric
,
pMetric
);
FIXME
(
"(%p, %d, %p): stub
\n
"
,
hao
,
uMetric
,
pMetric
);
mmr
=
MMSYSERR_NOTSUPPORTED
;
mmr
=
MMSYSERR_NOTSUPPORTED
;
...
...
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