AudioSource looping


#1

I don’t really use this class, but noticed the other day that this fails:

[code]
AudioTransportSource transportSource;

transportSource.setLooping(true);
jassert(transportSource.isLooping());

  [/code]

Guessing an override in the transport class got lost somewhere along the way.


#2

It depends if there’s a source:

bool AudioTransportSource::isLooping() const
{
    const ScopedLock sl (callbackLock);

    return positionableSource != nullptr
            && positionableSource->isLooping();
}

No source, no looping available.