Commit ae7c8d26 authored by Davide Beatrici's avatar Davide Beatrici Committed by Alexandre Julliard
Browse files

wineoss: Adapt "get_frequency_params" struct to mmdevapi's.

parent b1b71a31
......@@ -1414,7 +1414,7 @@ static HRESULT WINAPI AudioClock_GetFrequency(IAudioClock *iface, UINT64 *freq)
TRACE("(%p)->(%p)\n", This, freq);
params.stream = This->stream;
params.frequency = freq;
params.freq = freq;
OSS_CALL(get_frequency, &params);
return params.result;
......
......@@ -1295,7 +1295,7 @@ static NTSTATUS oss_get_frequency(void *args)
{
struct get_frequency_params *params = args;
struct oss_stream *stream = handle_get_stream(params->stream);
UINT64 *freq = params->frequency;
UINT64 *freq = params->freq;
oss_lock(stream);
......@@ -1911,12 +1911,12 @@ static NTSTATUS oss_wow64_get_frequency(void *args)
{
stream_handle stream;
HRESULT result;
PTR32 frequency;
PTR32 freq;
} *params32 = args;
struct get_frequency_params params =
{
.stream = params32->stream,
.frequency = ULongToPtr(params32->frequency)
.freq = ULongToPtr(params32->freq)
};
oss_get_frequency(&params);
params32->result = params.result;
......
......@@ -180,7 +180,7 @@ struct get_frequency_params
{
stream_handle stream;
HRESULT result;
UINT64 *frequency;
UINT64 *freq;
};
struct get_position_params
......
Supports Markdown
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