mirror of https://github.com/stenzek/duckstation
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
440 B
C
18 lines
440 B
C
#ifndef CUBEB_ANDROID_H
|
|
#define CUBEB_ANDROID_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
// If the latency requested is above this threshold, this stream is considered
|
|
// intended for playback (vs. real-time). Tell Android it should favor saving
|
|
// power over performance or latency.
|
|
// This is around 100ms at 44100 or 48000
|
|
const uint16_t POWERSAVE_LATENCY_FRAMES_THRESHOLD = 4000;
|
|
|
|
#ifdef __cplusplus
|
|
};
|
|
#endif
|
|
|
|
#endif // CUBEB_ANDROID_H
|