title: C++ - access variables on static void functions
body: <p>This is my callback-function (ALOG is for debugging)</p>
  
  <pre><code>static void playerEventCallbackA(void *clientData, SuperpoweredAdvancedAudioPlayerEvent event, void *value) {
      ALOG("###################### CALLBACK PLAYER A.... ");
      if (event == SuperpoweredAdvancedAudioPlayerEvent_LoadSuccess) {
          ALOG("###################### CALLBACK PLAYER A.... loaded"); 
          SuperpoweredAdvancedAudioPlayer *playerA = *((SuperpoweredAdvancedAudioPlayer **)clientData);        
          playerA-&gt;setBpm(126.0f);
          playerA-&gt;setFirstBeatMs(353);
          playerA-&gt;setPosition(playerA-&gt;firstBeatMs, false, false);
      };
  }
  </code></pre>
  
  <p>i need to set the bpm here, which i have detected on a other function in this class. How can I manage this?</p>