Skip to content

Commit 2b87992

Browse files
author
Phil Burk
committed
oboe: log version number in openStream()
Also bump version to 1.0.1 to avoid confusion with stable 1.0.0 release.
1 parent 59e594e commit 2b87992

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

include/oboe/Version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
#define OBOE_VERSION_MINOR 0
3636

3737
// Type: 16-bit unsigned int. Min value: 0 Max value: 65535. See below for description.
38-
#define OBOE_VERSION_PATCH 0
38+
#define OBOE_VERSION_PATCH 1
3939

4040
#define OBOE_STRINGIFY(x) #x
4141
#define OBOE_TOSTRING(x) OBOE_STRINGIFY(x)

src/common/AudioStreamBuilder.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ AudioStream *AudioStreamBuilder::build() {
7575
}
7676

7777
Result AudioStreamBuilder::openStream(AudioStream **streamPP) {
78+
LOGD("%s() %s -------- Oboe version " OBOE_VERSION_TEXT " --------",
79+
__func__, getDirection() == Direction::Input ? "INPUT" : "OUTPUT");
80+
7881
if (streamPP == nullptr) {
7982
return Result::ErrorNull;
8083
}

0 commit comments

Comments
 (0)