Total Pageviews

Monday, 18 December 2023

AirPods的桌面用户体验程序-AirPodsDesktop



AirPodsDesktop是一款 Windows 桌面下增强 AirPods 用户户体验的开源项目。基于C++编写,遵守GPL3.0开源协议。人耳检测可以实现拿下/戴上 AirPods 的时候暂停/继续播放。低音频延迟模式可以解决短音频的播放问题(可能会增加耗电)。

主要功能:

    电池信息显示。
    自动人耳检测。
     低音频延迟模式。
     精美的动画。

源代码:https://github.com/SpriteOvO/AirPodsDesktop
--------

AirPods desktop user experience enhancement program, for Windows and Linux.

AirPodsDesktop

AirPods desktop user experience enhancement program

🌎 English | 🌏 简体中文 | 🌏 繁體中文

🔍 Preview

Preview Image

✨ Features

  • 🔋 Battery information display.
  • 👂 Automatic ear detection.
  • 🚀 Low audio latency mode.
  • 🌈 Beautiful animation.

🛠️ Build

See the Build Instructions.

💎 ThirdParty

🍺 Credits

from https://github.com/SpriteOvO/AirPodsDesktop

------

Build Instructions

Preparations

git clone --recursive https://github.com/SpriteOvO/AirPodsDesktop.git
cd AirPodsDesktop
mkdir Build
cd Build

The current path will be named BuildPath in the rest of this document.

  1. Download and install CMake (>= v3.20) if you didn't have it.

  2. Choose a target platform to continue:

Windows

  1. Download and install Visual Studio 2019 if you didn't have it.

  2. Clone and bootstrap vcpkg if you didn't have it.

  3. Download and install Qt 5.15.2. (Minimum required components are only MSVC 2019 32-bit)
    Set the installed Qt directory to the PATH environment variable, or pass it to the CMake option later.

  4. Download and install NSIS. (Optional, not required if you do not generate installer)

  5. Open Powershell, go to BuildPath.
    Modify the following arguments according to your needs and run it.

    cmake -G "Visual Studio 16 2019" -A Win32 -DCMAKE_BUILD_TYPE=<Debug|RelWithDebInfo> -DCMAKE_TOOLCHAIN_FILE=path\to\vcpkg\scripts\buildsystems\vcpkg.cmake ../
    cmake --build . --config <Debug|RelWithDebInfo>
    ls ./Binary
    
  • Note that if you have not just added the Qt directory to the PATH environment variable, you need to pass it to the CMAKE_PREFIX_PATH option in the first line this way -DCMAKE_PREFIX_PATH=path\to\Qt\5.15.2\msvc2019.
  • See the CMakeLists.txt Build options section for more options.

from https://github.com/SpriteOvO/AirPodsDesktop/blob/main/Docs/Build.md

 

No comments:

Post a Comment