made :getData produce SoundData directly

moved SoundData::load back to private

--HG--
branch : minor-mic-input
This commit is contained in:
Raidho
2016-10-25 02:39:39 +03:00
parent 3de68707d1
commit a99c757652
7 changed files with 36 additions and 42 deletions
+2 -3
View File
@@ -60,10 +60,9 @@ public:
/**
* Retreives recorded data.
* @param soundData Reference to a SoundData to fill.
* @return number of samples obtained from device.
* @return SoundData containing data obtained from recording device.
**/
virtual int getData(love::sound::SoundData *soundData) = 0;
virtual love::sound::SoundData *getData() = 0;
/**
* @return C string device name.