Use uint32_t for sample rate
Change-Id: Ie240b48fb54b08359f69ecd4e5f8bda3d15cbe80
diff --git a/services/audioflinger/AudioFlinger.h b/services/audioflinger/AudioFlinger.h
index 54cf239..8816929 100644
--- a/services/audioflinger/AudioFlinger.h
+++ b/services/audioflinger/AudioFlinger.h
@@ -207,7 +207,7 @@
virtual audio_module_handle_t loadHwModule(const char *name);
- virtual int32_t getPrimaryOutputSamplingRate();
+ virtual uint32_t getPrimaryOutputSamplingRate();
virtual int32_t getPrimaryOutputFrameCount();
virtual status_t onTransact(
@@ -423,7 +423,7 @@
audio_channel_mask_t channelMask() const { return mChannelMask; }
- int sampleRate() const; // FIXME inline after cblk sr moved
+ uint32_t sampleRate() const; // FIXME inline after cblk sr moved
// Return a pointer to the start of a contiguous slice of the track buffer.
// Parameter 'offset' is the requested start position, expressed in