mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
made :getData produce SoundData directly
moved SoundData::load back to private --HG-- branch : minor-mic-input
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user