diff options
author | Glenn Kasten <gkasten@google.com> | 2012-11-14 08:44:39 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2012-11-14 16:19:23 -0800 |
commit | 3b16c766d1ae2cfd8487e8ffb2b23936fc0a8e17 (patch) | |
tree | 56e1f373606202e5d5277f9645158d91b1a0a80c /media/libmedia/SoundPool.cpp | |
parent | b4a17e834b718eff1ba2eac4232de6e73a4bf9f5 (diff) | |
download | frameworks_av-3b16c766d1ae2cfd8487e8ffb2b23936fc0a8e17.zip frameworks_av-3b16c766d1ae2cfd8487e8ffb2b23936fc0a8e17.tar.gz frameworks_av-3b16c766d1ae2cfd8487e8ffb2b23936fc0a8e17.tar.bz2 |
Use uint32_t for sample rate
Change-Id: Ie240b48fb54b08359f69ecd4e5f8bda3d15cbe80
Diffstat (limited to 'media/libmedia/SoundPool.cpp')
-rw-r--r-- | media/libmedia/SoundPool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libmedia/SoundPool.cpp b/media/libmedia/SoundPool.cpp index abc8899..b321e92 100644 --- a/media/libmedia/SoundPool.cpp +++ b/media/libmedia/SoundPool.cpp @@ -569,7 +569,7 @@ void SoundChannel::play(const sp<Sample>& sample, int nextChannelID, float leftV // initialize track int afFrameCount; - int afSampleRate; + uint32_t afSampleRate; audio_stream_type_t streamType = mSoundPool->streamType(); if (AudioSystem::getOutputFrameCount(&afFrameCount, streamType) != NO_ERROR) { afFrameCount = kDefaultFrameCount; |