This commit is contained in:
Nevyn Bengtsson 2020-12-15 10:16:58 +01:00 committed by Bjorn
parent eee1d09cc4
commit 213c721d1f
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ static int l_lovrSoundDataAppend(lua_State* L) {
Blob* blob = luax_totype(L, 2, Blob);
SoundData* sound = luax_totype(L, 2, SoundData);
lovrAssert(blob || sound, "Invalid blob appended");
size_t appendedSamples = false;
size_t appendedSamples = 0;
if (sound) {
appendedSamples = lovrSoundDataStreamAppendSound(soundData, sound);
} else if (blob) {