| 465 | //----------------------------------------------------------------------------- |
| 466 | |
| 467 | F32 SFXSource::getElapsedPlayTimeCurrentCycle() const |
| 468 | { |
| 469 | // In this base class, we can't make assumptions about total playtimes |
| 470 | // and thus cannot clamp the playtimer into range for the current cycle. |
| 471 | // This needs to be done by subclasses. |
| 472 | |
| 473 | return F32( mPlayTimer.getPosition() ) / 1000.f; |
| 474 | } |
| 475 | |
| 476 | //----------------------------------------------------------------------------- |
| 477 |
nothing calls this directly
no test coverage detected