JayFoxRox / xbox-tools

A collection of tools related to original Xbox
62 stars 11 forks source link

python-scripts: dsp_homebrew.py does not work in XQEMU / nxdk-rdt #61

Open JayFoxRox opened 6 years ago

JayFoxRox commented 6 years ago

When using nxdk-rdt in XQEMU, we need:

  # Set frame duration (?!)
  if True:
    apu.write_u32(NV_PAPU_SECTL, 3 << 3)

Only if this has been done, se_frame will be called.

I did not test what happens on real hardware.

The xbdm interface does not have this issue because it's likely running with DirectSound already initialized.