Skip to content

Commit

Permalink
Initialize mStreamCallback to nullptr. Fixes #44.
Browse files Browse the repository at this point in the history
  • Loading branch information
dturner committed Jan 11, 2018
1 parent 7283080 commit 09c96e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/oboe/AudioStreamBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class AudioStreamBase {
}

protected:
AudioStreamCallback *mStreamCallback;
AudioStreamCallback *mStreamCallback = nullptr;
int32_t mFramesPerCallback = kUnspecified;
int32_t mChannelCount = kUnspecified;
int32_t mSampleRate = kUnspecified;
Expand Down

0 comments on commit 09c96e9

Please sign in to comment.