pull request feedback addressed

newQueueableSource added
isQueueable removed, getFreeBufferCount added
queueData renamed to queue; added 3 argument variant with (data, offset, length)
lightuserdata variant now requires offset (pointer, offset, length, samplerate, bitdepth, channels)
setLooping now throws exception if called on queueable source

--HG--
branch : minor
This commit is contained in:
rcoaxil
2016-10-13 04:40:41 +03:00
parent b1c842f186
commit b757a0534e
9 changed files with 128 additions and 88 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ public:
void seek(Source *source, float offset, void *unit);
float tell(Source *source, void *unit);
double getDuration(Source *source, void *unit);
bool queueData(Source *source, void *data, ALsizei length);
bool queue(Source *source, void *data, ALsizei length);
bool play(const std::vector<love::audio::Source*> &sources);
void stop(const std::vector<love::audio::Source*> &sources);