Skip to content

Releases

2.2.0 Beta 1 — Startup Recovery & Source/Output

Choose a tag to compare

@cchen7 cchen7 released this 18 Oct 13:12

macOS 27 兼容性改造版:2.2.0 Beta 1

这是 cchen7 基于 vincentneo/LosslessSwitcher 维护的兼容性 fork,不是原作者的官方发布,也不是上游的 3.0 beta。感谢 Vincent Neo、上游贡献者及 vincentneo/LosslessSwitcher#225 的作者。

版本:2.2.0,build 28,Apple Silicon / ARM64。

本次改进

  • 播放中启动恢复:Music 已在播放、没有新的解码日志时,可读取当前曲目的采样率并恢复设备设置,无需先换曲。
  • Source / Output 分开展示:音源格式与硬件实际格式分别显示。位深切换关闭时,仍会显示真实输出位深,并提示采样率或位深降低。
  • 不猜未知字段:Music 元数据只能补充报告的采样率,不能证明 codec 或源位深。此时显示 ?,只请求采样率,不强行补成 16/24/32 bit;输出始终以硬件回读为准。
  • 读取在后台进行,针对已运行的 Music PID,使用统一的三秒事件预算,并检查曲目身份、播放状态及请求 generation,拒绝过期结果。

Music 访问权限

自动恢复不会主动弹出新的权限请求。首次需要时,请在菜单选择 Read Current Track from Music...,允许本机的 Music 自动化访问;之后启动可以复用该授权。

这只是本机系统权限,不需要输入 Apple ID 或密码,不会创建公证 profile,也不需要安装解除日志隐私遮罩的系统描述文件。本版本仅增加该功能确实需要的 Apple Events Automation entitlement,没有添加调试或关闭库校验的例外。

签名与 Apple 公证

  • 使用维护者已有的 Developer ID Application 证书签名,内嵌框架与应用逐层处理,不使用 --deep。
  • Apple 公证已通过(Accepted),公证票据已附加并验证,安装副本通过 Gatekeeper,来源为 Notarized Developer ID。
  • ZIP 从已附加公证票据的应用重新生成,并附 SHA-256 校验文件。

已验证范围与限制

在 M4 Max + macOS 27.0.1 + YULONG Audio DSD DAC OT 上,使用真实 Apple Music 订阅音源:

  • 持续播放 192 kHz 时启动,DAC 从预设的 44.1 kHz 自动恢复为 192 kHz;测试时已有可用 Music 授权。
  • 显式切歌完成 44.1 / 96 / 192 kHz 转换,音源、应用读值与硬件回读对应。
  • 能区分 96 kHz / 24-bit 音源与实际保留的 96 kHz / 16-bit 输出。
  • 暂停/恢复及开启位深切换后的 16/24-bit 输出通过;离线回归覆盖过期请求、同名不同录音、未知字段及混合采样率事件。

仍未验证真实混合采样率自然队列、长期预加载、物理 USB 热插拔、休眠唤醒及 bit-perfect 输出。首次授权/拒绝状态未通过重置系统权限强行制造。曾有一次输出切换响应超时,根因未确认;后续重复检查正常,不据此保证长期稳定。

解码日志仍使用时间窗口关联,某些预加载时序可能存在歧义。没有可靠日志或已授权且身份匹配的元数据时,会保留设备设置并显示提示。

安装与反馈

退出旧版,解压后将 LosslessSwitcher.app 放入 Applications。Music 中需启用无损音频;高解析度音源需要相应的流播放设置,立体声无损测试请关闭 Dolby Atmos。Bit Depth Switching 默认关闭,按需要开启。

欢迎测试和提交 Issue。请提供应用/macOS 版本、Mac/DAC 型号、复现步骤和预期/实际格式。分享日志或截图前请移除个人信息。

继续遵循 GPLv3,保留上游及第三方依赖的许可证和署名。对应版本源码与构建说明。


English

This is cchen7's compatibility-focused fork, not an official upstream release or upstream version 3. Credit remains with Vincent Neo, upstream contributors and the author of the backported transition fix.

2.2.0 Beta 1 / build 28 / ARM64 adds recovery when LosslessSwitcher starts during an already-playing Music stream, separate Source and Output format readouts, and visible output reductions.

Automatic metadata reads never request new permission. Use Read Current Track from Music... for the explicit local Automation consent action when needed. Only the feature-required Apple Events entitlement is added. No Apple ID/password, new notarization profile or private-log configuration profile is needed by end users.

Metadata establishes only Music's reported sample rate, not source codec or bit depth. Unknown fields remain unknown; hardware format is always read back rather than invented. Requests target the running Music process and are bounded and guarded against track/playback changes.

Apple notarization is Accepted. The Developer ID signed app has a stapled, validated ticket and passes Gatekeeper as Notarized Developer ID. The ZIP is rebuilt from the stapled app and includes a SHA-256 checksum.

Real YULong checks covered already-playing 192 kHz recovery, explicit 44.1/96/192 kHz navigation, source/output depth differences, resume and decoder-controlled 16/24-bit output. Mixed-rate natural queues, prolonged preloading, physical USB reconnect, sleep/wake and bit-perfect output remain unverified.

Please test and report issues in this fork with your app/macOS versions, Mac/DAC models and reproduction details. GPLv3, attribution and dependency notices are retained.

macOS 27 Compatibility Preview 3 — Signed & Notarized

Choose a tag to compare

@cchen7 cchen7 released this 18 Oct 10:39

macOS 27 / Apple Silicon 兼容性改造版

这是 cchen7 基于 vincentneo/LosslessSwitcher 进行的兼容性改造,重点适配 macOS 27 和 Apple Silicon,包括 M4 Max。原应用由 Vincent Neo 和上游贡献者开发,本版本不是上游官方发布,也不代表重新原创了整个应用。

应用版本:2.1.0,build 27,ARM64。

签名与公证状态

  • 已使用维护者本机的 Developer ID Application 证书签名。
  • 应用及内嵌框架使用相同签名团队,启用 Hardened Runtime 和安全时间戳。
  • Apple 公证已通过(Accepted),公证票据已附加到应用并验证。
  • 发布 ZIP 从附加票据后的应用重新生成;解压后的应用通过 Gatekeeper 检查,来源为 Notarized Developer ID。
  • 应用内容对所有用户可读;明确逐层签名,不使用 --deep,发布签名不附加额外 entitlement。
  • 本次只复用维护者已有的证书和公证配置,没有新建 profile,没有询问、打印或发布任何 Apple ID、密码或私钥。

欢迎测试,欢迎提交 Issue

欢迎大家使用自己的 Mac、macOS 版本和 DAC 测试这个兼容性版本!

遇到问题或有改进建议,请到 本 fork 的 Issues 提交。请尽量提供:

  • 应用版本、Mac 型号、macOS 版本和系统 build。
  • DAC 型号及连接方式。
  • 可重复的操作步骤,包括换曲、暂停、恢复、seek 或切换输出设备的情况。
  • 音源采样率、Audio MIDI Setup 中的实际采样率,以及应用显示值。
  • 必要的日志或截图;分享前请移除账号、设备标识等个人信息。

已验证的设备与场景

在 M4 Max + macOS 27.0.1 + YULONG Audio DSD DAC OT 上,使用真实 Apple Music 订阅 ALAC 音源,独立核对了 Music 曲目元数据、解码器日志、CoreAudio 硬件格式及应用读值:

  • 自动完成 44.1 → 96 → 44.1 → 192 → 44.1 kHz 切换。
  • 暂停/恢复、seek、同采样率自然换曲和快速下一首。
  • 切换输出后恢复 YULong 的缓存 192 kHz 格式。
  • 开启 Bit Depth Switching 后,16-bit 与 24-bit 音源选择相应硬件格式。
  • 修复其他应用改变硬件采样率后,应用显示不更新的问题。

已知限制

  • Music 已经播放时才启动程序,若没有新的解码日志,可能无法立即识别;换一次曲目可触发检测。
  • 位深切换默认关闭;关闭时会保留设备当前位深。需要 24-bit 输出时,可在应用菜单开启 Bit Depth Switching。
  • 不同采样率的自然队列换曲、长时间预加载、物理 USB 热插拔及 bit-perfect 输出尚未验证。
  • 设备切回时曾出现一次脚本响应超时,随后四次同场景复测通过;未确认该次超时根因,不据此保证长期稳定。
  • 解码器日志与曲目之间仍采用时间窗口关联,不保证所有预加载时序均能准确识别。

安装与源码

下载 ARM64 ZIP,退出旧版 LosslessSwitcher 后解压,将应用移到 Applications。Music 中需开启无损音频;高解析度测试需选高解析度无损,并关闭 Dolby Atmos 以使用无损立体声源。

继续遵循 GPLv3,保留原作者、贡献者及第三方依赖的许可证和署名。对应版本源码与构建说明。下载包附有 SHA-256 校验文件。


English

This is cchen7's compatibility-focused fork of vincentneo/LosslessSwitcher, targeting macOS 27 and Apple Silicon, including M4 Max. Credit for the original application remains with Vincent Neo and the upstream contributors. This is not an official upstream release.

Please test it and submit issues in this fork! Include your app/macOS versions, Mac and DAC models, reproduction steps, and expected/actual sample rates. Redact personal information from logs and screenshots.

Build 27 is Developer ID signed with Hardened Runtime and secure timestamps. Apple notarization is accepted, and the ticket is stapled and validated. The release ZIP was rebuilt from the stapled app; the extracted app passes Gatekeeper as Notarized Developer ID. Signing is explicit for the embedded framework and app, without --deep or extra release entitlements. Only the maintainer's existing certificate and Keychain profile were reused; no account credentials or private keys are included.

Short YULong device tests verified real ALAC 44.1/96/192 kHz switching, pause/resume, seeks, same-rate natural transitions, rapid next-track changes, 16/24-bit format selection and cached 192 kHz output restoration. Launching during an already-playing stream can still require a fresh track change. Long-run stability, different-rate natural transitions, physical USB unplug/replug and bit-perfect output are not certified.

GPLv3, upstream attribution and dependency notices are retained.

2.1.0 macOS 27 Preview 2 — YULong Device QA

Choose a tag to compare

@cchen7 cchen7 released this 18 Oct 10:11

Build 26 fixes stale sample-rate/bit-depth display after external hardware changes and adds a runnable real-device regression.

Actual device QA: M4 Max, macOS 27.0.1, YULONG Audio DSD DAC OT, Apple Music subscription ALAC streams. Verified automatic 44.1/96/192 kHz changes against Music metadata, decoder logs, CoreAudio and app scripting readback. Pause/resume, seek, a same-rate natural transition, rapid next-track commands, 16/24-bit format changes and cached 192 kHz restoration after output changes passed. With Bit Depth Switching off, hardware bit depth is intentionally retained.

Remaining limitations: launching during an already-playing stream with no fresh decoder log can leave the old rate; change tracks once to trigger detection. Different-rate natural transitions, prolonged preloading, physical USB unplug/replug and bit-perfect output were not verified. A one-off scripting-response timeout during output switching was not reproduced in four subsequent output-return checks; long-run stability is not established.

The preview is ad-hoc signed, not Apple-notarized. Local Developer ID signing and optional notarization instructions are in the README. No certificates or account credentials are included.

Music library was not changed; original volume, system output and hardware formats were restored after QA. The Music control skill was installed only inside the project, not globally.

2.1.0 macOS 27 / Apple Silicon Preview

Pre-release

Choose a tag to compare

@cchen7 cchen7 released this 18 Oct 09:25

Apple Silicon compatibility preview for macOS 27, including M4 Max. Based on upstream version 2.0 and PR vincentneo#225, with original authorship retained.

Changes: one playback listener; timestamp-aware track/resume/seek detection; cancellation of stale work; cached format restoration after device changes; physical-format range support; hardware rate readback and visible errors; saved device and bit-depth preferences.

Installation: quit any existing LosslessSwitcher, extract the ARM64 ZIP, and move the app into Applications. Enable Lossless Audio in Music. Bit Depth Switching is optional and off by default.

The downloadable preview is ad-hoc signed and not Apple-notarized. Use Privacy & Security > Open Anyway if required; do not disable Gatekeeper or SIP. The README includes local Developer ID signing and optional Keychain-profile notarization commands. Certificates and private keys stay on your Mac.

Limits: decoder logs have no reliable public track identifier. Near-transition preloads remain temporally ambiguous, and playback without a new lossless decoder log leaves the rate unchanged with a status message. External audio-device capabilities vary. This is a preview, not a guarantee of bit-perfect output.

The GPL-3.0 license and dependency notices are included. Matching source is available in this tag and the fork.