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:
raidho36
2016-10-12 18:53:49 +03:00
parent 7934bfaf7f
commit 10710d3428
9 changed files with 91 additions and 45 deletions
+2 -2
View File
@@ -222,9 +222,9 @@ bool Source::isQueueable() const
return false;
}
void Source::queueData(void *data, int length, int dataSampleRate, int dataBitDepth, int dataChannels)
bool Source::queueData(void *data, int length, int dataSampleRate, int dataBitDepth, int dataChannels)
{
return;
return false;
}