summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/flac
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2014-04-02 10:25:35 -0700
committerGlenn Kasten <gkasten@android.com>2014-04-02 11:45:51 -0700
commit66fe2e9ee30bcb4161bc487ec63d2ae4a05f4051 (patch)
tree4f996c27cafd9ef29e45ba1f3acb05210fbd16e6 /media/libstagefright/codecs/flac
parent08fce45fdb537e135868604522aba15461f516be (diff)
downloadframeworks_av-66fe2e9ee30bcb4161bc487ec63d2ae4a05f4051.zip
frameworks_av-66fe2e9ee30bcb4161bc487ec63d2ae4a05f4051.tar.gz
frameworks_av-66fe2e9ee30bcb4161bc487ec63d2ae4a05f4051.tar.bz2
64-bit: Correction to OMX_U32 and OMX_S32
Change-Id: I9c41bb34c35595ac19a7ab8faaacde8cb4fa9a15
Diffstat (limited to 'media/libstagefright/codecs/flac')
-rw-r--r--media/libstagefright/codecs/flac/enc/SoftFlacEncoder.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/media/libstagefright/codecs/flac/enc/SoftFlacEncoder.cpp b/media/libstagefright/codecs/flac/enc/SoftFlacEncoder.cpp
index e64fe72..b480971 100644
--- a/media/libstagefright/codecs/flac/enc/SoftFlacEncoder.cpp
+++ b/media/libstagefright/codecs/flac/enc/SoftFlacEncoder.cpp
@@ -204,7 +204,7 @@ OMX_ERRORTYPE SoftFlacEncoder::internalSetParameter(
mNumChannels = pcmParams->nChannels;
mSampleRate = pcmParams->nSamplingRate;
- ALOGV("will encode %ld channels at %ldHz", mNumChannels, mSampleRate);
+ ALOGV("will encode %d channels at %dHz", mNumChannels, mSampleRate);
return configureEncoder();
}
@@ -257,8 +257,8 @@ OMX_ERRORTYPE SoftFlacEncoder::internalSetParameter(
}
void SoftFlacEncoder::onQueueFilled(OMX_U32 portIndex) {
-
- ALOGV("SoftFlacEncoder::onQueueFilled(portIndex=%ld)", portIndex);
+ //UNUSED_UNLESS_VERBOSE(portIndex);
+ ALOGV("SoftFlacEncoder::onQueueFilled(portIndex=%d)", portIndex);
if (mSignalledError) {
return;
@@ -290,7 +290,7 @@ void SoftFlacEncoder::onQueueFilled(OMX_U32 portIndex) {
}
if (inHeader->nFilledLen > kMaxInputBufferSize) {
- ALOGE("input buffer too large (%ld).", inHeader->nFilledLen);
+ ALOGE("input buffer too large (%d).", inHeader->nFilledLen);
mSignalledError = true;
notify(OMX_EventError, OMX_ErrorUndefined, 0, NULL);
return;
@@ -405,7 +405,7 @@ FLAC__StreamEncoderWriteStatus SoftFlacEncoder::onEncodedFlacAvailable(
OMX_ERRORTYPE SoftFlacEncoder::configureEncoder() {
- ALOGV("SoftFlacEncoder::configureEncoder() numChannel=%ld, sampleRate=%ld",
+ ALOGV("SoftFlacEncoder::configureEncoder() numChannel=%d, sampleRate=%d",
mNumChannels, mSampleRate);
if (mSignalledError || (mFlacStreamEncoder == NULL)) {