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:
@@ -105,7 +105,7 @@ public:
|
||||
void setDopplerScale(float scale);
|
||||
float getDopplerScale() const;
|
||||
|
||||
std::vector<love::audio::RecordingDevice*> *getRecordingDevices();
|
||||
const std::vector<love::audio::RecordingDevice*> &getRecordingDevices();
|
||||
|
||||
DistanceModel getDistanceModel() const;
|
||||
void setDistanceModel(DistanceModel distanceModel);
|
||||
|
||||
Reference in New Issue
Block a user