mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +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:
@@ -132,8 +132,8 @@ public:
|
||||
virtual int getChannels() const;
|
||||
|
||||
virtual bool isQueueable() const;
|
||||
virtual void queueData(void *data, int length, int dataSampleRate, int dataBitDepth, int dataChannels);
|
||||
virtual void queueDataAtomic(void *data, ALsizei length);
|
||||
virtual bool queueData(void *data, int length, int dataSampleRate, int dataBitDepth, int dataChannels);
|
||||
virtual bool queueDataAtomic(void *data, ALsizei length);
|
||||
|
||||
void prepareAtomic();
|
||||
void teardownAtomic();
|
||||
@@ -167,6 +167,7 @@ private:
|
||||
ALuint unusedBufferPeek();
|
||||
ALuint *unusedBufferPop();
|
||||
void unusedBufferPush(ALuint buffer);
|
||||
void unusedBufferQueue(ALuint buffer);
|
||||
|
||||
Pool *pool;
|
||||
ALuint source;
|
||||
|
||||
Reference in New Issue
Block a user