Use in-class initializer for class members
[platform/core/api/audio-io.git] / include / CPulseAudioClient.h
index b41acc6..631362a 100644 (file)
@@ -77,25 +77,25 @@ namespace tizen_media_audio {
 
     private:
         /* Members */
-        EStreamDirection      __mDirection;
+        EStreamDirection      __mDirection {};
         CPulseStreamSpec      __mSpec;
-        IPulseStreamListener* __mpListener;
-
-        pa_threaded_mainloop* __mpMainloop;
-        pa_context*           __mpContext;
-        pa_stream*            __mpStream;
-        pa_proplist*          __mpPropList;
-
-        bool                  __mIsInit;
-        bool                  __mIsOperationSuccess;
-
-        const void*           __mpSyncReadDataPtr;
-        size_t                __mSyncReadIndex;
-        size_t                __mSyncReadLength;
-        bool                  __mIsUsedSyncRead;
-        bool                  __mIsFirstStream;
-        bool                  __mIsDraining;
-        bool                  __mIsStarted;
+        IPulseStreamListener* __mpListener {};
+
+        pa_threaded_mainloop* __mpMainloop {};
+        pa_context*           __mpContext {};
+        pa_stream*            __mpStream {};
+        pa_proplist*          __mpPropList {};
+
+        bool                  __mIsInit {};
+        bool                  __mIsOperationSuccess {};
+
+        const void*           __mpSyncReadDataPtr {};
+        size_t                __mSyncReadIndex {};
+        size_t                __mSyncReadLength {};
+        bool                  __mIsUsedSyncRead {};
+        bool                  __mIsFirstStream {};
+        bool                  __mIsDraining {};
+        bool                  __mIsStarted {};
 
         /* Static Methods */