mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Minor clean-ups.
This commit is contained in:
parent
ddb6b969ea
commit
e543949bda
28 changed files with 109 additions and 117 deletions
|
|
@ -165,8 +165,8 @@ double AudioTransportSource::getCurrentPosition() const
|
|||
{
|
||||
if (sampleRate > 0.0)
|
||||
return getNextReadPosition() / sampleRate;
|
||||
else
|
||||
return 0.0;
|
||||
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
double AudioTransportSource::getLengthInSeconds() const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue