HubeRSoundX-Lite

针对扬声器、耳机的音频输出快捷优化

Optimized audio output for both speakers and headphones(Streamlined)

全局常驻音频处理服务,兼容安卓11及以上版本

Global Persistent Audio Processing Framework,Compatible with Android 11+



安装/激活 (Install/Activate)


安装APK后前往系统控制中心添加磁贴开关,磁贴开关如图

After installing the APK, go to the system control center to add the tile switch.


部分开源内容(Partially open-sourced content)

引用的权限Manifest(Manifest Permission)

  <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
  <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />

音效处理API(Audio Processing API)

Officially open-sourced by Google for Android.

  equalizer = new Equalizer(0,0);
  loudnessEnhancer = new LoudnessEnhancer(0);

后台服务(Service)

  public class TileS extends TileService {
      @Override
      public void onTileAdded() {
          super.onTileAdded();
          tile = getQsTile();
          tile.setState(Tile.STATE_INACTIVE);
          tile.updateTile();
      }
  
      @Override
      public void onStartListening() {
          super.onStartListening();
      }

      @Override
      public void onStopListening() {
          super.onStopListening();
          stopDeviceMonitorTask();
      }
  
      @Override
      public void onDestroy() {
          super.onDestroy();
          stopDeviceMonitorTask();
      }

      @Override
      public int onStartCommand(Intent intent, int flags, int startId) {
          return START_STICKY;
      }
  }