• Announcements

    • andrewilley

      Poweramp v3 Beta-test Build 790 Now Released   04/29/2018

      Poweramp v3 BETA TEST preview build 790, including brand new user interface, has now been released - 30 April 2018. This is not quite feature-complete yet, so only install if you are happy to test with a slightly reduced set of options.  Missing features should be completed during May. Please report any issues in the testing forum thread, and remember to backup your previous build before testing.  

Dekmeena

New Members
  • Content count

    3
  • Joined

  • Last visited

Everything posted by Dekmeena

  1. /** * Extras: * - id - long - preset ID */ public static final int SET_EQU_PRESET = 50; /** * Extras: * - value - string - equalizer values, see ACTION_EQU_CHANGED description. */ public static final int SET_EQU_STRING = 51; /** * Extras: * - name - string - equalizer band (bass/treble/preamp/31/62../8K/16K) name * - value - float - equalizer band value (bass/treble/, 31/62../8K/16K => -1.0...1.0, preamp => 0..2.0) */ public static final int SET_EQU_BAND = 52; /** * Extras: * - equ - boolean - if exists and true, equalizer is enabled * - tone - boolean - if exists and true, tone is enabled */ public static final int SET_EQU_ENABLED = 53; public static final String ACTION_EQU_CHANGED = "com.maxmpz.audioplayer.EQU_CHANGED"; private void registerAndLoadStatus() { // Note, it's not necessary to set mStatusIntent/mPlayingModeIntent/mEquIntent this way here, // but this approach can be used with null receiver to get current sticky intent without broadcast receiver. mEquIntent = registerReceiver(mEquReceiver, new IntentFilter(PowerampAPI.ACTION_EQU_CHANGED)); } startService(new Intent(PowerampAPI.ACTION_API_COMMAND).putExtra(PowerampAPI.COMMAND, PowerampAPI.Commands.SET_EQU_ENABLED).putExtra(PowerampAPI.EQU, isChecked));