mirror of
https://github.com/love2d/love.git
synced 2026-08-18 03:34:23 +02:00
Add SoundData:copyFrom
SoundData:copyFrom(src, srcStart, count, dstStart = 0)
This commit is contained in:
@@ -61,6 +61,8 @@ public:
|
||||
float getSample(int i) const;
|
||||
float getSample(int i, int channel) const;
|
||||
|
||||
void copyFrom(const SoundData *src, int srcStart, int count, int dstStart);
|
||||
|
||||
private:
|
||||
|
||||
void load(int samples, int sampleRate, int bitDepth, int channels, void *newData = 0);
|
||||
|
||||
Reference in New Issue
Block a user