forked from bartvdbraak/blender
Fix T50065: Audaspace: some values of the lower limit of Factory.limit causes the factory not to play
Backport of upstream audaspace bugfix (ddd9a4d).
This commit is contained in:
parent
96ed2b0ce0
commit
3340acd46b
@ -110,10 +110,10 @@ void AUD_LimiterReader::read(int& length, bool& eos, sample_t* buffer)
|
||||
eos = true;
|
||||
}
|
||||
|
||||
if(position < m_start * rate)
|
||||
if(position < int(m_start * rate))
|
||||
{
|
||||
int len2 = length;
|
||||
for(int len = m_start * rate - position;
|
||||
for(int len = int(m_start * rate) - position;
|
||||
len2 == length && !eos;
|
||||
len -= length)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user