[PATCH] dsound: Fix its vs it's typos

Andrew Eikum aeikum at codeweavers.com
Fri Aug 5 07:34:44 CDT 2016


Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>

On Thu, Aug 04, 2016 at 10:57:43AM +0300, Nikolay Sivov wrote:
> Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
> ---
>  dlls/dsound/sound3d.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/dlls/dsound/sound3d.c b/dlls/dsound/sound3d.c
> index 840ab93..b416cdc 100644
> --- a/dlls/dsound/sound3d.c
> +++ b/dlls/dsound/sound3d.c
> @@ -294,12 +294,12 @@ if(0)
>  	           dsb->ds3db_ds3db.vVelocity.z == dsb->device->ds3dl.vVelocity.z))
>  	{
>  		/* calculate length of ds3db_ds3db.vVelocity component which causes Doppler Effect
> -		   NOTE: if buffer moves TOWARDS the listener, it's velocity component is NEGATIVE
> -		         if buffer moves AWAY from listener, it's velocity component is POSITIVE */
> +		   NOTE: if buffer moves TOWARDS the listener, its velocity component is NEGATIVE
> +		         if buffer moves AWAY from listener, its velocity component is POSITIVE */
>  		flBufferVel = ProjectVector(&dsb->ds3db_ds3db.vVelocity, &vDistance);
>  		/* calculate length of ds3dl.vVelocity component which causes Doppler Effect
> -		   NOTE: if listener moves TOWARDS the buffer, it's velocity component is POSITIVE
> -		         if listener moves AWAY from buffer, it's velocity component is NEGATIVE */
> +		   NOTE: if listener moves TOWARDS the buffer, its velocity component is POSITIVE
> +		         if listener moves AWAY from buffer, its velocity component is NEGATIVE */
>  		flListenerVel = ProjectVector(&dsb->device->ds3dl.vVelocity, &vDistance);
>  		/* formula taken from Gianicoli D.: Physics, 4th edition: */
>  		/* FIXME: replace dsb->freq with appropriate frequency ! */
> -- 
> 2.8.1
> 
> 
> 



More information about the wine-devel mailing list