Skip to content
Extraits de code Groupes Projets

Draft: improve the audio vizualiser

Tous les fils de conversation ont été résolus !
Fermé
Elliurequested to merge
timingView-improve into master
Tous les fils de conversation ont été résolus !

Fichiers

+ 1
1
@@ -300,7 +300,7 @@ qreal
AudioContext::Stream::getLength() const noexcept
{
// The whole file duration, not individual streams.
return qreal(dataFormat->duration)/1000000;
return qreal(std::chrono::duration<qreal,std::ratio<1,1>>(std::chrono::microseconds(dataFormat->duration)).count());
}
// Get the information about the decoded state of this stream
Chargement en cours