mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Add love.audio.setOutputDevice
This commit is contained in:
@@ -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[];
|
||||
|
||||
Reference in New Issue
Block a user