420 |
a = (0x11 - ((ratio >> 0xe) & 0x3)) - 2; |
a = (0x11 - ((ratio >> 0xe) & 0x3)) - 2; |
421 |
} else |
} else |
422 |
a = 0xc; |
a = 0xc; |
423 |
temp = hwread(vortex->mmio, 0xce00 + (src << 2)); |
temp = hwread(vortex->mmio, VORTEX_SRC_U0 + (src << 2)); |
424 |
if (((temp >> 4) & 0xf) != a) |
if (((temp >> 4) & 0xf) != a) |
425 |
hwwrite(vortex->mmio, 0xce00 + (src << 2), (temp & 0xf) | ((a & 0xf) << 4)); |
hwwrite(vortex->mmio, VORTEX_SRC_U0 + (src << 2), (temp & 0xf) | ((a & 0xf) << 4)); |
426 |
|
|
427 |
vortex_src_persist_convratio(vortex, src, ratio); |
vortex_src_persist_convratio(vortex, src, ratio); |
428 |
} |
} |
445 |
// noplayback: d=2,4,7,0xa,0xb when using first 2 src's. |
// noplayback: d=2,4,7,0xa,0xb when using first 2 src's. |
446 |
// c: enables pitch sweep. |
// c: enables pitch sweep. |
447 |
// looks like g is c related. Maybe g is a sweep parameter ? |
// looks like g is c related. Maybe g is a sweep parameter ? |
448 |
|
// e: 0 = recording, 1 = playback |
449 |
|
|
450 |
int esi, ebp=0, esp10; |
int esi, ebp=0, esp10; |
451 |
|
|