mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Addressed some criticism
getRecordingDevices internal function is now returns constant reference, also re-enumerates devices every time it is called; this is a slow operation getID removed for not being useful --HG-- branch : minor-mic-input
This commit is contained in:
@@ -192,7 +192,7 @@ public:
|
||||
/**
|
||||
* @return Reference to a vector of pointers to recording devices. May be empty.
|
||||
**/
|
||||
virtual std::vector<RecordingDevice*> *getRecordingDevices() = 0;
|
||||
virtual const std::vector<RecordingDevice*> &getRecordingDevices() = 0;
|
||||
|
||||
/**
|
||||
* Gets the distance model used for attenuation.
|
||||
|
||||
Reference in New Issue
Block a user