c61e5f4db54b27249a562271037c9962ef71c0c8
FPS buffer (dsp_fps_out_buf) and algorithm delay-line state held stale samples across FPS-off periods, causing an occasional pop on re-enable. On CLOCKED_DOWN->ACTIVE, request fps1 to flush (zero buffers, reset positions, re-init library) before g_tile1_audio_ready=1, via a new FLUSHING state with req/ack handshake. Also arm a ~30ms proactive output mute in UserBufferManagement on every FPS toggle (g_fps_switch_mute) to mask the path-switch discontinuity in both directions. All C1_DFS_EN-guarded; factory unaffected. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Spatial audio firmware for Phaten
How to build the firmware:
- Edit CMakeLists.txt file for target hardware and set the define HOST_OS_DETECTION ON/OFF
- go to the directory: sw_usb_audio/app_usb_aud_phaten_golden/
- rm -rf build
- cmake -B build
- xmake -C build
- the binaries are in the directory bin/ex3d_xxxxx/
How to flash the binaries:
- xflash --erase-all --target-file ./src/core/PHATEN.xn
- xflash --target-file ./src/core/PHATEN.xn --factory ./bin/ex3d_stereo_2k/app_xxxxx_stereo_2k.xe --upgrade 1 ./bin/ex3d_71_game/app_xxxx_71_game.xe --loader ../../loader/..../loader.o
- Factory: UAC1.0, upgrade image: UAC2.0
How to build the loader:
- go to the directory: sw_usb_audio_8.1.0/loader/AN00109_XK-AUDIO-316/src
- run xcc -march=xs3a -c loader/loader.xc -o loader/loader.o
Description
Languages
C
57.3%
Python
15.1%
Assembly
9.9%
XC
9.9%
TeX
5%
Other
2.5%