Re: DSOUND: tolerate inexact conversion between different frequencies
8 Sep
2005
8 Sep
'05
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.
7405
Age (days ago)
7405
Last active (days ago)
0 comments
1 participants
participants (1)
-
Robert Reif