winealsa.drv: The result of a comparison is already a BOOL.

This commit is contained in:
Michael Stefaniuc 2015-04-01 09:52:54 +02:00 committed by Alexandre Julliard
parent e81ff99c72
commit 8fcfa67a56
1 changed files with 1 additions and 1 deletions

View File

@ -1306,7 +1306,7 @@ static HRESULT WINAPI AudioClient_Initialize(IAudioClient *iface,
dump_fmt(fmt);
This->need_remapping = map_channels(This, fmt, &This->alsa_channels, This->alsa_channel_map) == S_OK ? TRUE : FALSE;
This->need_remapping = map_channels(This, fmt, &This->alsa_channels, This->alsa_channel_map) == S_OK;
if((err = snd_pcm_hw_params_any(This->pcm_handle, This->hw_params)) < 0){
WARN("Unable to get hw_params: %d (%s)\n", err, snd_strerror(err));