Support audio mix modes

This commit is contained in:
Tiago Koji Castro Shibata
2017-06-02 19:35:58 -03:00
parent a11adeea4a
commit 4c145e8c13
7 changed files with 94 additions and 0 deletions
+10
View File
@@ -64,6 +64,16 @@ std::string getExecutablePath();
**/
void vibrate();
/**
* Enable mix mode (e.g. with background music apps) and playback with a muted device.
**/
void setAudioMixWithOthers(bool mixMode, bool playMuted);
/**
* Returns whether another application is playing audio.
**/
bool audioShouldBeSilenced();
} // ios
} // love