Skip to content

Commit

Permalink
Merge pull request #96 from google/processed
Browse files Browse the repository at this point in the history
change framesRead to framesProcessed
  • Loading branch information
philburk authored May 22, 2018
2 parents 1f042c0 + 982d4fc commit 602fc7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/opensles/AudioStreamOpenSLES.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,6 @@ int32_t AudioStreamOpenSLES::getFramesPerBurst() {

int64_t AudioStreamOpenSLES::getFramesProcessedByServer() const {
int64_t millis64 = mPositionMillis.get();
int64_t framesRead = millis64 * getSampleRate() / kMillisPerSecond;
return framesRead;
int64_t framesProcessed = millis64 * getSampleRate() / kMillisPerSecond;
return framesProcessed;
}

0 comments on commit 602fc7c

Please sign in to comment.