Revise cpp codes
[platform/core/api/audio-io.git] / include / CPulseStreamSpec.h
index 0e9cf09..44ffe29 100644 (file)
@@ -44,26 +44,26 @@ namespace tizen_media_audio {
             STREAM_LATENCY_OUTPUT_HIGH,
             STREAM_LATENCY_OUTPUT_VOIP,
             STREAM_LATENCY_OUTPUT_DEFAULT,
+            STREAM_LATENCY_OUTPUT_DEFAULT_ASYNC,
             STREAM_LATENCY_MAX
         };
 
         /* Constructor & Destructor */
-        CPulseStreamSpec() throw(CAudioError);
-        CPulseStreamSpec(EStreamLatency latency, CAudioInfo& audioInfo) throw(CAudioError);
-        CPulseStreamSpec(EStreamLatency latency, CAudioInfo& audioInfo, int customLatency) throw(CAudioError);
-        ~CPulseStreamSpec();
+        CPulseStreamSpec();
+        CPulseStreamSpec(EStreamLatency latency, CAudioInfo& audioInfo);
+        ~CPulseStreamSpec() = default;
 
         /* Setter & Getter */
-        EStreamLatency getStreamLatency();
-        const char*    getStreamLatencyToString();
-        CAudioInfo&    getAudioInfo();
-        pa_sample_spec getSampleSpec();
-        pa_channel_map getChannelMap();
-        const char*    getStreamName();
+        EStreamLatency getStreamLatency() noexcept;
+        const char*    getStreamLatencyToString() noexcept;
+        CAudioInfo&    getAudioInfo() noexcept;
+        pa_sample_spec getSampleSpec() noexcept;
+        pa_channel_map getChannelMap() noexcept;
+        const char*    getStreamName() noexcept;
 
     private:
         /* Private Methods */
-        void __adjustSpec() throw(CAudioError);
+        void __adjustSpec() noexcept;
 
         /* Members */
         EStreamLatency __mLatency;