mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
queueData now returns success state, couple bug fixes
success state return added to queueData functions queueable source is now seekable while stopped fixed bug with creating queueable source with invalid format silently crashing LOVE fixed bug with stopped queueable source reported as not queueable --HG-- branch : minor
This commit is contained in:
@@ -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);
|
||||
void queueData(Source *source, void *data, ALsizei length);
|
||||
bool queueData(Source *source, void *data, ALsizei length);
|
||||
|
||||
bool play(const std::vector<love::audio::Source*> &sources);
|
||||
void stop(const std::vector<love::audio::Source*> &sources);
|
||||
|
||||
Reference in New Issue
Block a user