回复:Re: hda codec issue

2023-08-17 Thread M_O_Bz
I try to refine the code like below(only show the code i modify meaningful), I calculate the each 1ms timer wanted_wpos which I named it wanted_wpos_delta first instead of caculate the hole duration wanted_wpos in one time and summer all of them to calcute the wanted_wpos /* calcute each

Re: hda codec issue

2023-08-16 Thread Volker Rümelin
Cc: qemu-devel@nongnu.org cc Volker Rümelin == so I was curious about: 1. why using wpos, rpos which will increasing along the time, which may overflow in the feature time? wpos and rpos are 64 bit integers. At a sample rate of 96kHz and with 32 bit