aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/cubeb_aaudio.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cubeb_aaudio.cpp b/src/cubeb_aaudio.cpp
index b1ff3a4..1c98ed3 100644
--- a/src/cubeb_aaudio.cpp
+++ b/src/cubeb_aaudio.cpp
@@ -17,6 +17,7 @@
#include <condition_variable>
#include <cstring>
#include <dlfcn.h>
+#include <inttypes.h>
#include <memory>
#include <mutex>
#include <thread>
@@ -1385,7 +1386,7 @@ aaudio_stream_get_position(cubeb_stream * stm, uint64_t * position)
stm->previous_clock = *position;
}
- LOG("aaudio_stream_get_position: %ld", *position);
+ LOG("aaudio_stream_get_position: %" PRIu64 " frames", *position);
return CUBEB_OK;
}