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.