oboe: use int32_t in AudioStreamBase.h
To be consistent with other declarations.
Fixes #417
diff --git a/include/oboe/AudioStreamBase.h b/include/oboe/AudioStreamBase.h
index 1b47cc3..fa1a066 100644
--- a/include/oboe/AudioStreamBase.h
+++ b/include/oboe/AudioStreamBase.h
@@ -48,7 +48,7 @@
/**
* @return number of channels, for example 2 for stereo, or kUnspecified
*/
- int getChannelCount() const { return mChannelCount; }
+ int32_t getChannelCount() const { return mChannelCount; }
/**
* @return Direction::Input or Direction::Output
@@ -63,7 +63,7 @@
/**
* @return the number of frames in each callback or kUnspecified.
*/
- int getFramesPerCallback() const { return mFramesPerCallback; }
+ int32_t getFramesPerCallback() const { return mFramesPerCallback; }
/**
* @return the audio sample format (e.g. Float or I16)