Loading media/libmediaplayerservice/StagefrightRecorder.cpp +6 −0 Original line number Diff line number Diff line Loading @@ -70,6 +70,8 @@ namespace android { static const int64_t kMax32BitFileSize = 0x00ffffffffLL; // 4GB // To collect the encoder usage for the battery app static void addBatteryData(uint32_t params) { sp<IBinder> binder = Loading Loading @@ -475,6 +477,10 @@ status_t StagefrightRecorder::setParamMaxFileSizeBytes(int64_t bytes) { } mMaxFileSizeBytes = bytes; // If requested size is >4GB, force 64-bit offsets mUse64BitFileOffset |= (bytes >= kMax32BitFileSize); return OK; } Loading Loading
media/libmediaplayerservice/StagefrightRecorder.cpp +6 −0 Original line number Diff line number Diff line Loading @@ -70,6 +70,8 @@ namespace android { static const int64_t kMax32BitFileSize = 0x00ffffffffLL; // 4GB // To collect the encoder usage for the battery app static void addBatteryData(uint32_t params) { sp<IBinder> binder = Loading Loading @@ -475,6 +477,10 @@ status_t StagefrightRecorder::setParamMaxFileSizeBytes(int64_t bytes) { } mMaxFileSizeBytes = bytes; // If requested size is >4GB, force 64-bit offsets mUse64BitFileOffset |= (bytes >= kMax32BitFileSize); return OK; } Loading