Commit 460eaee4 authored by Davide Beatrici's avatar Davide Beatrici Committed by Alexandre Julliard

mmdevapi: Remove unused "channel" member in set_volumes_params.

parent f46e9b8f
...@@ -52,7 +52,6 @@ static void set_stream_volumes(struct audio_client *This) ...@@ -52,7 +52,6 @@ static void set_stream_volumes(struct audio_client *This)
params.master_volume = (This->session->mute ? 0.0f : This->session->master_vol); params.master_volume = (This->session->mute ? 0.0f : This->session->master_vol);
params.volumes = This->vols; params.volumes = This->vols;
params.session_volumes = This->session->channel_vols; params.session_volumes = This->session->channel_vols;
params.channel = 0;
WINE_UNIX_CALL(set_volumes, &params); WINE_UNIX_CALL(set_volumes, &params);
} }
......
...@@ -207,7 +207,6 @@ struct set_volumes_params ...@@ -207,7 +207,6 @@ struct set_volumes_params
float master_volume; float master_volume;
const float *volumes; const float *volumes;
const float *session_volumes; const float *session_volumes;
int channel;
}; };
struct set_event_handle_params struct set_event_handle_params
......
...@@ -2767,7 +2767,6 @@ static NTSTATUS alsa_wow64_set_volumes(void *args) ...@@ -2767,7 +2767,6 @@ static NTSTATUS alsa_wow64_set_volumes(void *args)
float master_volume; float master_volume;
PTR32 volumes; PTR32 volumes;
PTR32 session_volumes; PTR32 session_volumes;
int channel;
} *params32 = args; } *params32 = args;
struct set_volumes_params params = struct set_volumes_params params =
{ {
...@@ -2775,7 +2774,6 @@ static NTSTATUS alsa_wow64_set_volumes(void *args) ...@@ -2775,7 +2774,6 @@ static NTSTATUS alsa_wow64_set_volumes(void *args)
.master_volume = params32->master_volume, .master_volume = params32->master_volume,
.volumes = ULongToPtr(params32->volumes), .volumes = ULongToPtr(params32->volumes),
.session_volumes = ULongToPtr(params32->session_volumes), .session_volumes = ULongToPtr(params32->session_volumes),
.channel = params32->channel
}; };
return alsa_set_volumes(&params); return alsa_set_volumes(&params);
} }
......
...@@ -261,7 +261,6 @@ static void set_stream_volumes(ACImpl *This) ...@@ -261,7 +261,6 @@ static void set_stream_volumes(ACImpl *This)
params.master_volume = (This->session->mute ? 0.0f : This->session->master_vol); params.master_volume = (This->session->mute ? 0.0f : This->session->master_vol);
params.volumes = This->vols; params.volumes = This->vols;
params.session_volumes = This->session->channel_vols; params.session_volumes = This->session->channel_vols;
params.channel = 0;
ALSA_CALL(set_volumes, &params); ALSA_CALL(set_volumes, &params);
} }
......
...@@ -2046,7 +2046,6 @@ static NTSTATUS unix_wow64_set_volumes(void *args) ...@@ -2046,7 +2046,6 @@ static NTSTATUS unix_wow64_set_volumes(void *args)
float master_volume; float master_volume;
PTR32 volumes; PTR32 volumes;
PTR32 session_volumes; PTR32 session_volumes;
int channel;
} *params32 = args; } *params32 = args;
struct set_volumes_params params = struct set_volumes_params params =
{ {
...@@ -2054,7 +2053,6 @@ static NTSTATUS unix_wow64_set_volumes(void *args) ...@@ -2054,7 +2053,6 @@ static NTSTATUS unix_wow64_set_volumes(void *args)
.master_volume = params32->master_volume, .master_volume = params32->master_volume,
.volumes = ULongToPtr(params32->volumes), .volumes = ULongToPtr(params32->volumes),
.session_volumes = ULongToPtr(params32->session_volumes), .session_volumes = ULongToPtr(params32->session_volumes),
.channel = params32->channel
}; };
return unix_set_volumes(&params); return unix_set_volumes(&params);
} }
......
...@@ -232,7 +232,6 @@ static void set_stream_volumes(ACImpl *This) ...@@ -232,7 +232,6 @@ static void set_stream_volumes(ACImpl *This)
params.master_volume = This->session->mute ? 0.0f : This->session->master_vol; params.master_volume = This->session->mute ? 0.0f : This->session->master_vol;
params.volumes = This->vols; params.volumes = This->vols;
params.session_volumes = This->session->channel_vols; params.session_volumes = This->session->channel_vols;
params.channel = 0;
UNIX_CALL(set_volumes, &params); UNIX_CALL(set_volumes, &params);
} }
......
...@@ -271,7 +271,6 @@ static void set_stream_volumes(ACImpl *This) ...@@ -271,7 +271,6 @@ static void set_stream_volumes(ACImpl *This)
params.master_volume = (This->session->mute ? 0.0f : This->session->master_vol); params.master_volume = (This->session->mute ? 0.0f : This->session->master_vol);
params.volumes = This->vols; params.volumes = This->vols;
params.session_volumes = This->session->channel_vols; params.session_volumes = This->session->channel_vols;
params.channel = 0;
OSS_CALL(set_volumes, &params); OSS_CALL(set_volumes, &params);
} }
......
...@@ -1974,7 +1974,6 @@ static NTSTATUS oss_wow64_set_volumes(void *args) ...@@ -1974,7 +1974,6 @@ static NTSTATUS oss_wow64_set_volumes(void *args)
float master_volume; float master_volume;
PTR32 volumes; PTR32 volumes;
PTR32 session_volumes; PTR32 session_volumes;
int channel;
} *params32 = args; } *params32 = args;
struct set_volumes_params params = struct set_volumes_params params =
{ {
...@@ -1982,7 +1981,6 @@ static NTSTATUS oss_wow64_set_volumes(void *args) ...@@ -1982,7 +1981,6 @@ static NTSTATUS oss_wow64_set_volumes(void *args)
.master_volume = params32->master_volume, .master_volume = params32->master_volume,
.volumes = ULongToPtr(params32->volumes), .volumes = ULongToPtr(params32->volumes),
.session_volumes = ULongToPtr(params32->session_volumes), .session_volumes = ULongToPtr(params32->session_volumes),
.channel = params32->channel
}; };
return oss_set_volumes(&params); return oss_set_volumes(&params);
} }
......
...@@ -316,7 +316,6 @@ static void set_stream_volumes(ACImpl *This) ...@@ -316,7 +316,6 @@ static void set_stream_volumes(ACImpl *This)
params.master_volume = This->session->mute ? 0.0f : This->session->master_vol; params.master_volume = This->session->mute ? 0.0f : This->session->master_vol;
params.volumes = This->vols; params.volumes = This->vols;
params.session_volumes = This->session->channel_vols; params.session_volumes = This->session->channel_vols;
params.channel = 0;
pulse_call(set_volumes, &params); pulse_call(set_volumes, &params);
} }
......
...@@ -2723,7 +2723,6 @@ static NTSTATUS pulse_wow64_set_volumes(void *args) ...@@ -2723,7 +2723,6 @@ static NTSTATUS pulse_wow64_set_volumes(void *args)
float master_volume; float master_volume;
PTR32 volumes; PTR32 volumes;
PTR32 session_volumes; PTR32 session_volumes;
int channel;
} *params32 = args; } *params32 = args;
struct set_volumes_params params = struct set_volumes_params params =
{ {
...@@ -2731,7 +2730,6 @@ static NTSTATUS pulse_wow64_set_volumes(void *args) ...@@ -2731,7 +2730,6 @@ static NTSTATUS pulse_wow64_set_volumes(void *args)
.master_volume = params32->master_volume, .master_volume = params32->master_volume,
.volumes = ULongToPtr(params32->volumes), .volumes = ULongToPtr(params32->volumes),
.session_volumes = ULongToPtr(params32->session_volumes), .session_volumes = ULongToPtr(params32->session_volumes),
.channel = params32->channel
}; };
return pulse_set_volumes(&params); return pulse_set_volumes(&params);
} }
......
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