diff --git a/interfaces/inner_api/native/audio_haptic/include/audio_haptic_manager.h b/interfaces/inner_api/native/audio_haptic/include/audio_haptic_manager.h index 9d75ac03c94da94fad6159187cba82d99ad05b10..4c7c47704d369a05908c8b8736a62ff283b90f4d 100644 --- a/interfaces/inner_api/native/audio_haptic/include/audio_haptic_manager.h +++ b/interfaces/inner_api/native/audio_haptic/include/audio_haptic_manager.h @@ -27,8 +27,8 @@ namespace OHOS { namespace Media { struct AudioHapticFileDescriptor { int32_t fd = -1; - int64_t length; - int64_t offset; + int64_t length = 0; + int64_t offset = 0; }; class AudioHapticManager {