diff options
| author | Glenn Kasten <gkasten@google.com> | 2012-01-12 15:01:42 -0800 |
|---|---|---|
| committer | Glenn Kasten <gkasten@google.com> | 2012-01-12 15:01:42 -0800 |
| commit | 53e2cfab45b411db0bf6c4b5d146cd9d8b1b1425 (patch) | |
| tree | f418271cc56147f8bd7adcd3280a1ece263fb4f7 /include | |
| parent | c6e7b3d9e65c18df980d181ee4cf2deedab89169 (diff) | |
| download | hardware_libhardware_legacy-53e2cfab45b411db0bf6c4b5d146cd9d8b1b1425.tar.gz hardware_libhardware_legacy-53e2cfab45b411db0bf6c4b5d146cd9d8b1b1425.tar.bz2 hardware_libhardware_legacy-53e2cfab45b411db0bf6c4b5d146cd9d8b1b1425.zip | |
Use audio_format_t consistently
Was int
Change-Id: I8cc1beaa8006fb0a135cf1135955155090c8e87e
Diffstat (limited to 'include')
| -rw-r--r-- | include/hardware_legacy/AudioSystemLegacy.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hardware_legacy/AudioSystemLegacy.h b/include/hardware_legacy/AudioSystemLegacy.h index 4b78f58..6d90896 100644 --- a/include/hardware_legacy/AudioSystemLegacy.h +++ b/include/hardware_legacy/AudioSystemLegacy.h @@ -332,10 +332,10 @@ public: return audio_is_low_visibility((audio_stream_type_t)stream); } static bool isValidFormat(uint32_t format) { - return audio_is_valid_format(format); + return audio_is_valid_format((audio_format_t) format); } static bool isLinearPCM(uint32_t format) { - return audio_is_linear_pcm(format); + return audio_is_linear_pcm((audio_format_t) format); } static bool isOutputChannel(uint32_t channel) { return audio_is_output_channel(channel); |
