Steven Dan c61e5f4db5 fix(c1): flush FPS pipeline + mute output to remove FPS on/off pop
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>
2026-06-22 20:28:10 +08:00
2025-12-11 09:43:42 +08:00
2025-12-11 09:43:42 +08:00
2025-12-15 12:05:06 +08:00
2026-03-20 19:42:15 +08:00
2025-12-15 12:05:06 +08:00
2026-03-19 19:32:03 +08:00
2026-05-12 11:17:20 +08:00
2025-12-30 22:35:11 +08:00
2025-12-11 09:43:42 +08:00
2025-12-11 09:43:42 +08:00
2026-06-12 10:07:07 +08:00
2025-12-11 09:43:42 +08:00
2026-03-21 16:28:55 +08:00
2025-12-11 09:43:42 +08:00
2025-12-15 12:05:06 +08:00
2025-12-11 09:43:42 +08:00
2026-05-12 11:17:20 +08:00
2025-12-11 09:43:42 +08:00
2026-05-12 11:17:20 +08:00
2025-12-11 09:43:42 +08:00
2025-12-11 09:43:42 +08:00
2026-05-27 18:26:20 +08:00
2026-05-15 10:53:57 +08:00
2025-12-15 12:05:33 +08:00
2025-12-11 09:43:42 +08:00
2026-05-12 11:19:07 +08:00
2026-05-12 11:19:07 +08:00
2025-12-11 09:43:42 +08:00
2025-12-11 09:43:42 +08:00
2025-12-11 09:43:42 +08:00
2025-12-11 09:43:42 +08:00
2025-12-11 09:43:42 +08:00

Spatial audio firmware for Phaten

How to build the firmware:

  1. Edit CMakeLists.txt file for target hardware and set the define HOST_OS_DETECTION ON/OFF
  2. go to the directory: sw_usb_audio/app_usb_aud_phaten_golden/
  3. rm -rf build
  4. cmake -B build
  5. xmake -C build
  6. the binaries are in the directory bin/ex3d_xxxxx/

How to flash the binaries:

  1. xflash --erase-all --target-file ./src/core/PHATEN.xn
  2. 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
  3. Factory: UAC1.0, upgrade image: UAC2.0

How to build the loader:

  1. go to the directory: sw_usb_audio_8.1.0/loader/AN00109_XK-AUDIO-316/src
  2. run xcc -march=xs3a -c loader/loader.xc -o loader/loader.o
Description
No description provided
Readme 439 MiB
Languages
C 57.3%
Python 15.1%
Assembly 9.9%
XC 9.9%
TeX 5%
Other 2.5%