Add love.audio.setOutputDevice

This commit is contained in:
Miku AuahDark
2022-05-03 20:16:26 +08:00
parent 65b898903c
commit 5e0f0dc02e
5 changed files with 64 additions and 5 deletions
+5
View File
@@ -307,6 +307,11 @@ public:
*/
virtual void getOutputDevices(std::vector<std::string> &list) = 0;
/**
* Set the output device to specified device name.
*/
virtual void setOutputDevice(const char *name);
private:
static StringMap<DistanceModel, DISTANCE_MAX_ENUM>::Entry distanceModelEntries[];