Merge pull request #316 from google/logversion

oboe: log version number in openStream()
diff --git a/include/oboe/Version.h b/include/oboe/Version.h
index 6ad0274..bb0624f 100644
--- a/include/oboe/Version.h
+++ b/include/oboe/Version.h
@@ -35,7 +35,7 @@
 #define OBOE_VERSION_MINOR 0
 
 // Type: 16-bit unsigned int. Min value: 0 Max value: 65535. See below for description.
-#define OBOE_VERSION_PATCH 0
+#define OBOE_VERSION_PATCH 1
 
 #define OBOE_STRINGIFY(x) #x
 #define OBOE_TOSTRING(x) OBOE_STRINGIFY(x)
diff --git a/src/common/AudioStreamBuilder.cpp b/src/common/AudioStreamBuilder.cpp
index b16da7a..4b909af 100644
--- a/src/common/AudioStreamBuilder.cpp
+++ b/src/common/AudioStreamBuilder.cpp
@@ -75,6 +75,9 @@
 }
 
 Result AudioStreamBuilder::openStream(AudioStream **streamPP) {
+    LOGD("%s() %s -------- Oboe version " OBOE_VERSION_TEXT " --------",
+         __func__, getDirection() == Direction::Input ? "INPUT" : "OUTPUT");
+
     if (streamPP == nullptr) {
         return Result::ErrorNull;
     }