winealsa.drv: remove unused variable

Chris Robinson chris.kcat at gmail.com
Sun Sep 5 01:56:55 CDT 2010


On Saturday, September 04, 2010 11:09:03 pm Austin English wrote:
> -    frames_per_period = snd_pcm_bytes_to_frames(wwi->pcm,
> wwi->dwPeriodSize);
> +    snd_pcm_bytes_to_frames(wwi->pcm, wwi->dwPeriodSize);

The whole call can probably be removed if the result isn't used anywhere. The 
function just returns the number of frames that would fit in the specified 
byte count for the specified device's format.



More information about the wine-devel mailing list