Commit e940b8c9 authored by James Hatheway's avatar James Hatheway Committed by Alexandre Julliard

Stub for the ACM_METRIC_MAX_SIZE_FORMAT command of acmMetrics.

parent 5d760b1c
...@@ -153,11 +153,16 @@ MMRESULT WINAPI acmMetrics(HACMOBJ hao, UINT uMetric, LPVOID pMetric) ...@@ -153,11 +153,16 @@ MMRESULT WINAPI acmMetrics(HACMOBJ hao, UINT uMetric, LPVOID pMetric)
val++; val++;
*(LPDWORD)pMetric = val; *(LPDWORD)pMetric = val;
return 0; return 0;
case ACM_METRIC_MAX_SIZE_FORMAT:
/* FIXME: According to MSDN, this should return the size of the largest WAVEFORMATEX
structure in the system. How is this calculated? */
*(LPDWORD)pMetric = sizeof (WAVEFORMATEX);
return 0;
case ACM_METRIC_COUNT_HARDWARE: case ACM_METRIC_COUNT_HARDWARE:
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_FORMAT:
case ACM_METRIC_MAX_SIZE_FILTER: case ACM_METRIC_MAX_SIZE_FILTER:
case ACM_METRIC_DRIVER_SUPPORT: case ACM_METRIC_DRIVER_SUPPORT:
case ACM_METRIC_DRIVER_PRIORITY: case ACM_METRIC_DRIVER_PRIORITY:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment