Re: DSOUND: tolerate inexact conversion between different frequencies
Sept. 8, 2005
10:38 p.m.
Alex Villacís Lasso wrote:
During the winealsa tests, I am frequently annoyed by the following: say, in playing a 11050Hz secondary buffer with an 8000Hz primary buffer, the number of samples are converted form secondary->primary and back. In the process, the number of consumed samples in the secondary buffer drifts by a few frames from the actual value, and this triggers the warning about "problem with underflow detection". This patch allows a tolerance of up to 4 bytes before issuing the message.
Alex Villacís Lasso
Or you could keep track of the round off errors (fractions) like winex does.
7682
Age (days ago)
7682
Last active (days ago)
0 comments
1 participants
participants (1)
-
Robert Reif