Jump to content
Poweramp

Dekmeena

New Members
  • Content count

    3
  • Joined

  • Last visited

1 Follower

About Dekmeena

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Dekmeena

    Tasker Intents and EQ Presets

    /** * 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));
×