Topic | Setting the default samplerate in java files

Home Forums Mooshimeter Support Setting the default samplerate in java files

Tagged: ,

Viewing 0 reply threads
  • Author
    Posts
    • #19895 Reply
      Anonymous
      Inactive

      Hello everybody,

      i was wondering if there is any way to set the default sample rate to 1000Hz programmatically via Android Studio in the Java files?

      Reason is that i rewrote some parts of the open source code to better fit my project and got rid of the sampling button/widget.

      i tried in the DeviceActivity.java to
      mMeter.setSampleRateIndex(5)

      but without public void onRateClick the app crashes, as there is a null pointer reference

      thanks in advance

Viewing 0 reply threads
Reply To: Setting the default samplerate in java files
Your information:




This site is protected by reCaptcha and the Google Privacy Policy and Terms of Service apply.