diff --git a/dlls/dsound/dsound_main.c b/dlls/dsound/dsound_main.c index 0e3a313208..013060789b 100644 --- a/dlls/dsound/dsound_main.c +++ b/dlls/dsound/dsound_main.c @@ -528,7 +528,7 @@ HRESULT enumerate_mmdevices(EDataFlow flow, GUID *guids, release_mmdevenum(devenum, init_hr); - return (keep_going == TRUE) ? S_OK : S_FALSE; + return keep_going ? S_OK : S_FALSE; } /*************************************************************************** diff --git a/dlls/dsound/mixer.c b/dlls/dsound/mixer.c index b367086139..973a65e60f 100644 --- a/dlls/dsound/mixer.c +++ b/dlls/dsound/mixer.c @@ -841,7 +841,7 @@ static void DSOUND_PerformMix(DirectSoundDevice *device) } /* if device was stopping, its for sure stopped when all buffers have stopped */ - else if((all_stopped == TRUE) && (device->state == STATE_STOPPING)){ + else if (all_stopped && (device->state == STATE_STOPPING)) { TRACE("All buffers have stopped. Stopping primary buffer\n"); device->state = STATE_STOPPED;