diff options
author | Glenn Kasten <gkasten@google.com> | 2014-02-27 15:29:51 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2014-02-28 07:56:38 -0800 |
commit | bce50bfc3846ab008bafa75c5d3f29fd7b5395f7 (patch) | |
tree | ebefb9f660bf71aec96bd297e155d12c9d3588e8 /media/libstagefright/AudioSource.cpp | |
parent | 838b3d8bafa4a781e277870dee4e0390165cff52 (diff) | |
download | frameworks_av-bce50bfc3846ab008bafa75c5d3f29fd7b5395f7.zip frameworks_av-bce50bfc3846ab008bafa75c5d3f29fd7b5395f7.tar.gz frameworks_av-bce50bfc3846ab008bafa75c5d3f29fd7b5395f7.tar.bz2 |
Fix type of AudioTrack/AudioRecord parameter frameCount
It's size_t consistently
Change-Id: I29638ef59ac773218025f2403a3508a307b487e0
Diffstat (limited to 'media/libstagefright/AudioSource.cpp')
-rw-r--r-- | media/libstagefright/AudioSource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/AudioSource.cpp b/media/libstagefright/AudioSource.cpp index ee789bd..d0e0e8e 100644 --- a/media/libstagefright/AudioSource.cpp +++ b/media/libstagefright/AudioSource.cpp @@ -76,7 +76,7 @@ AudioSource::AudioSource( mRecord = new AudioRecord( inputSource, sampleRate, AUDIO_FORMAT_PCM_16_BIT, audio_channel_in_mask_from_count(channelCount), - bufCount * frameCount, + (size_t) (bufCount * frameCount), AudioRecordCallbackFunction, this, frameCount /*notificationFrames*/); |