diff options
author | Mark Salyzyn <salyzyn@google.com> | 2014-04-04 14:47:28 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2014-04-15 13:18:22 -0700 |
commit | db43b34c3428e480f8c4c66e7e88f4001f37f91e (patch) | |
tree | be194bf06c84b61f277a1c29c7499aa7862494a4 /libvideoeditor/lvpp/VideoEditorAudioPlayer.cpp | |
parent | 1df2557ac95a6d8a087fb15f6f842dc049f2759b (diff) | |
download | frameworks_av-db43b34c3428e480f8c4c66e7e88f4001f37f91e.zip frameworks_av-db43b34c3428e480f8c4c66e7e88f4001f37f91e.tar.gz frameworks_av-db43b34c3428e480f8c4c66e7e88f4001f37f91e.tar.bz2 |
media: 64 bit compile issues
- change internal sized types to use stdint.h
- printf & scanf formats
- size_t or unsigned int for iterators
Change-Id: Id993a70d8bf54c667c5d652b34179a2c727ed446
Diffstat (limited to 'libvideoeditor/lvpp/VideoEditorAudioPlayer.cpp')
-rwxr-xr-x | libvideoeditor/lvpp/VideoEditorAudioPlayer.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libvideoeditor/lvpp/VideoEditorAudioPlayer.cpp b/libvideoeditor/lvpp/VideoEditorAudioPlayer.cpp index cb4b23e..91dc590 100755 --- a/libvideoeditor/lvpp/VideoEditorAudioPlayer.cpp +++ b/libvideoeditor/lvpp/VideoEditorAudioPlayer.cpp @@ -14,6 +14,8 @@ * limitations under the License. */ +#include <inttypes.h> + #define LOG_NDEBUG 1 #define LOG_TAG "VideoEditorAudioPlayer" #include <utils/Log.h> @@ -372,7 +374,7 @@ status_t VideoEditorAudioPlayer::start(bool sourceAlreadyStarted) { // Get the duration in time of the audio BT if ( result == M4NO_ERROR ) { - ALOGV("VEAP: channels = %d freq = %d", + ALOGV("VEAP: channels = %" PRIu32 " freq = %" PRIu32, mAudioMixSettings->uiNbChannels, mAudioMixSettings->uiSamplingFrequency); // No trim @@ -440,7 +442,7 @@ status_t VideoEditorAudioPlayer::start(bool sourceAlreadyStarted) { // do nothing } - ALOGV("VideoEditorAudioPlayer::startTime %d", startTime); + ALOGV("VideoEditorAudioPlayer::startTime %" PRIu32, startTime); seekTimeStamp = 0; if (startTime) { if (startTime >= mBGAudioPCMFileDuration) { |