mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
Add love.audio.getOutputDevice(s).
This commit is contained in:
@@ -211,6 +211,15 @@ void Audio::resumeContext()
|
||||
{
|
||||
}
|
||||
|
||||
std::string Audio::getOutputDevice()
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
void Audio::getOutputDevices(std::vector<std::string> &/*list*/)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
} // null
|
||||
} // audio
|
||||
|
||||
@@ -89,6 +89,9 @@ public:
|
||||
void pauseContext();
|
||||
void resumeContext();
|
||||
|
||||
std::string getOutputDevice();
|
||||
void getOutputDevices(std::vector<std::string> &list);
|
||||
|
||||
private:
|
||||
float volume;
|
||||
DistanceModel distanceModel;
|
||||
|
||||
Reference in New Issue
Block a user