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:
Raidho
2016-11-03 06:31:31 +03:00
parent a99c757652
commit 57d02dec2b
12 changed files with 39 additions and 64 deletions
+1 -1
View File
@@ -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.