commit | cac3daa6332bf6d1f7d26adc4a9915f3d7992dd9 | [log] [tgz] |
---|---|---|
author | Glenn Kasten <gkasten@google.com> | Fri Feb 07 09:47:14 2014 -0800 |
committer | Glenn Kasten <gkasten@google.com> | Fri Feb 07 09:52:20 2014 -0800 |
tree | 806b4634036e26630acbed0f0dac907bec5ca7b5 | |
parent | 010c4c8ec50eb04ece15f792c508a3b869749310 [diff] [blame] |
Use printf format %#x for audio_format_t in logs Change-Id: I1c611d1037685d52ccc84efe0fccd6413ec938e9
diff --git a/media/libmedia/AudioTrack.cpp b/media/libmedia/AudioTrack.cpp index cfd79bc..41b4845 100644 --- a/media/libmedia/AudioTrack.cpp +++ b/media/libmedia/AudioTrack.cpp
@@ -273,7 +273,7 @@ // validate parameters if (!audio_is_valid_format(format)) { - ALOGE("Invalid format %d", format); + ALOGE("Invalid format %#x", format); return BAD_VALUE; } mFormat = format;