mirror of
https://github.com/love2d/love.git
synced 2026-08-14 01:20:56 +02:00
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:
@@ -217,12 +217,12 @@ int Source::getChannels() const
|
||||
return 2;
|
||||
}
|
||||
|
||||
bool Source::isQueueable() const
|
||||
int Source::getFreeBufferCount() const
|
||||
{
|
||||
return false;
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool Source::queueData(void *data, int length, int dataSampleRate, int dataBitDepth, int dataChannels)
|
||||
bool Source::queue(void *data, int length, int dataSampleRate, int dataBitDepth, int dataChannels)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user