Skip to content

Commit

Permalink
change framesRead to framesProcessed
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Burk committed May 22, 2018
1 parent 1f042c0 commit 982d4fc
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 982d4fc

Please sign in to comment.