Skip to content

Getsu v1.3.1

Latest

Choose a tag to compare

@skttr87 skttr87 released this 15 Oct 04:10
· 5 commits to main since this release

What's New in Getsu v1.3.1

  • Windows CoreAudio PnP Hardware Bus Auto-Detection (PKEY_Device_EnumeratorName):
    • Implemented direct Win32 COM querying of IMMDevice property stores via ctypes (PKEY_Device_EnumeratorName, {a45c254e-df1c-4efd-8020-67d146a850e0}, PID 24).
    • Categorizes audio hardware into canonical bus architectures: BLUETOOTH_HFP (BTHHFENUM), BLUETOOTH_A2DP (BTHENUM), USB, INTERNAL_HD (HDAUDIO), INTEL_AUDIO (INTELAUDIO), and VIRTUAL (VB-Audio / cable drivers).
  • Native Active Playback Resolution:
    • Direct Win32 CoreAudio query of active default audio endpoints (eRender across eConsole, eMultimedia, and eCommunications), completely removing reliance on brittle MME sd.default.device[1] index lookups.
    • 4-tier output resolution in get_physical_output_device() prioritizing active CoreAudio playback endpoint, hardware bus priority, keywords, and verified physical endpoints.
  • Dynamic Bluetooth Hands-Free (HFP) Jitter Buffer Adaptation:
    • Automatically identifies Bluetooth HFP headsets (BTHHFENUM) and silently adapts PortAudio stream latency to 0.035s (35ms RF packet smoothing buffer) while retaining ultra-low low latency (10ms) for USB and HD Audio devices.
  • Hardware-Aware Laptop Microphone Detection:
    • Upgraded is_laptop_microphone() to inspect hardware bus enumerators (INTERNAL_HD, INTEL_AUDIO) before falling back to localized name matching.
    • Harmonized gain compensation (1.2x) across live streaming (_compute_current_gain) and in-memory Voice Test preview (_run_voice_test_worker).
  • Voice Test Phase 2 Live Output Rescan:
    • Live Voice Test preview explicitly triggers get_physical_output_device(force_rescan=True) immediately before playback, routing test audio to the current default output even if user plugged in headphones mid-recording.
  • Hotplug Concurrency Synchronization & Rescan UI Error Recovery:
    • Added state lock acquisition with timeout in _handle_hardware_rescan(), preventing race conditions with _stop_worker from resurrecting orphaned background streams when hotplug events occur during user stop.
    • Implemented comprehensive error recovery: if stream restart fails after hardware changes, the UI automatically resets btn_toggle to "START", status badge to [ STOPPED ], and re-enables Voice Test rather than locking the user out.
  • Type-Safe Device Querying & Codebase Hygiene:
    • Hardened get_all_devices() against malformed mock data, non-dict elements, and string/non-integer host API indexes.
    • Cleaned dead code (hide_to_tray) and pruned unused imports across src/gui.py, src/stream.py, src/cli_cleaner.py, and src/tray.py.

Verify Your Download

  • File: Getsu-v1.3.1-Setup.exe
  • SHA-256: EA159395EA4C0869FAE064AC3714AF555272131D9AABD5BFB330AF9F530BAB39
  • MD5: 115435FE89C03022DC8257F29A663A43
  • Size: 38,328,459 bytes (~36.6 MB)