diff options
author | Glenn Kasten <gkasten@google.com> | 2012-02-03 08:31:01 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-02-03 08:31:01 -0800 |
commit | 787bae0578fbaab6219ebf23494866b224d01438 (patch) | |
tree | 935422276579d6f7c3b4e835e1a79bc9082a2b26 /media | |
parent | ff3c83e04ae459c4252b86dd4440b4e37ee92c16 (diff) | |
parent | de9719b3ec71472e6bf75117152176af51d1a515 (diff) | |
download | frameworks_av-787bae0578fbaab6219ebf23494866b224d01438.zip frameworks_av-787bae0578fbaab6219ebf23494866b224d01438.tar.gz frameworks_av-787bae0578fbaab6219ebf23494866b224d01438.tar.bz2 |
Merge "Use audio_in_acoustics_t consistently"
Diffstat (limited to 'media')
-rw-r--r-- | media/libmedia/IAudioFlinger.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/media/libmedia/IAudioFlinger.cpp b/media/libmedia/IAudioFlinger.cpp index 7c5589d..fc5520f 100644 --- a/media/libmedia/IAudioFlinger.cpp +++ b/media/libmedia/IAudioFlinger.cpp @@ -432,7 +432,7 @@ public: uint32_t *pSamplingRate, audio_format_t *pFormat, uint32_t *pChannels, - uint32_t acoustics) + audio_in_acoustics_t acoustics) { Parcel data, reply; uint32_t devices = pDevices ? *pDevices : 0; @@ -445,7 +445,7 @@ public: data.writeInt32(samplingRate); data.writeInt32(format); data.writeInt32(channels); - data.writeInt32(acoustics); + data.writeInt32((int32_t) acoustics); remote()->transact(OPEN_INPUT, data, &reply); int input = reply.readInt32(); devices = reply.readInt32(); @@ -881,13 +881,13 @@ status_t BnAudioFlinger::onTransact( uint32_t samplingRate = data.readInt32(); audio_format_t format = (audio_format_t) data.readInt32(); uint32_t channels = data.readInt32(); - uint32_t acoutics = data.readInt32(); + audio_in_acoustics_t acoustics = (audio_in_acoustics_t) data.readInt32(); int input = openInput(&devices, &samplingRate, &format, &channels, - acoutics); + acoustics); reply->writeInt32(input); reply->writeInt32(devices); reply->writeInt32(samplingRate); |