Skip to content

Commit

Permalink
Code review feedback from phil
Browse files Browse the repository at this point in the history
  • Loading branch information
dturner committed Oct 2, 2018
1 parent 2eae437 commit dfadd45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions include/oboe/AudioStream.h
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ class AudioStream : public AudioStreamBase {

/**
* Get the estimated time that the frame at `framePosition` entered or left the audio processing
* pipeline.
*
* This can be used to coordinate events and interactions with the external environment, and to
* estimate the latency of an audio stream. An example of usage can be found in the hello-oboe
Expand All @@ -288,6 +289,7 @@ class AudioStream : public AudioStreamBase {

/**
* Get the estimated time that the frame at `framePosition` entered or left the audio processing
* pipeline.
*
* This can be used to coordinate events and interactions with the external environment, and to
* estimate the latency of an audio stream. An example of usage can be found in the hello-oboe
Expand Down
4 changes: 2 additions & 2 deletions include/oboe/Definitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -473,8 +473,8 @@ namespace oboe {
* The time at which the frame at `position` was presented
*/
struct FrameTimestamp {
int64_t position;
int64_t timestamp;
int64_t position; // in frames
int64_t timestamp; // in nanoseconds
};


Expand Down

0 comments on commit dfadd45

Please sign in to comment.