tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

cubeb_android.h (440B)


      1 #ifndef CUBEB_ANDROID_H
      2 #define CUBEB_ANDROID_H
      3 
      4 #ifdef __cplusplus
      5 extern "C" {
      6 #endif
      7 // If the latency requested is above this threshold, this stream is considered
      8 // intended for playback (vs. real-time). Tell Android it should favor saving
      9 // power over performance or latency.
     10 // This is around 100ms at 44100 or 48000
     11 const uint16_t POWERSAVE_LATENCY_FRAMES_THRESHOLD = 4000;
     12 
     13 #ifdef __cplusplus
     14 };
     15 #endif
     16 
     17 #endif // CUBEB_ANDROID_H