Fix timer bug in AudioPCI.
This commit is contained in:
parent
73c20a723f
commit
c79074c980
1 changed files with 1 additions and 1 deletions
|
|
@ -1224,7 +1224,7 @@ static void es1371_speed_changed(void *p)
|
|||
{
|
||||
es1371_t *es1371 = (es1371_t *)p;
|
||||
|
||||
es1371->dac[1].latch = (int)((double)TIMER_USEC * (1000000.0 / 48000.0));
|
||||
es1371->dac[1].latch = (uint64_t)((double)TIMER_USEC * (1000000.0 / 48000.0));
|
||||
}
|
||||
|
||||
void es1371_add_status_info_dac(es1371_t *es1371, char *s, int max_len, int dac_nr)
|
||||
|
|
|
|||
Loading…
Reference in a new issue