use constexpr whenever possible / remove unused member function
[platform/core/api/audio-io.git] / include / CAudioInfo.h
index 82ee921..a74b7e4 100644 (file)
@@ -111,8 +111,8 @@ namespace tizen_media_audio {
             AUDIO_DIRECTION_MAX
         };
 
-        const static unsigned int MIN_SYSTEM_SAMPLERATE = 8000;
-        const static unsigned int MAX_SYSTEM_SAMPLERATE = 192000;
+        static constexpr unsigned int MIN_SYSTEM_SAMPLERATE = 8000;
+        static constexpr unsigned int MAX_SYSTEM_SAMPLERATE = 192000;
 
         /* Constructors */
         CAudioInfo();
@@ -124,7 +124,6 @@ namespace tizen_media_audio {
         EChannel getChannel() noexcept;
         ESampleType getSampleType() noexcept;
         EAudioType getAudioType() noexcept;
-        void setAudioType(EAudioType audioType) noexcept;
         int getAudioIndex() noexcept;
         void setAudioIndex(int audioIndex) noexcept;
         int getSampleSize() noexcept;