stream-manager: Modify handle_update_focus_status() to update only if needed
[platform/core/multimedia/pulseaudio-modules-tizen.git] / src / stream-manager-priv.h
index 343d9e5..ec71b6e 100644 (file)
@@ -57,7 +57,7 @@ typedef enum _stream_direction {
 #define GET_STREAM_SAMPLE_SPEC(stream, type) \
       (type == STREAM_SINK_INPUT ? ((pa_sink_input*)stream)->sample_spec : ((pa_source_output*)stream)->sample_spec)
 
-#define IS_FOCUS_ACQUIRED(focus, type) \
+#define GET_FOCUS_STATUS(focus, type) \
       (type == STREAM_SINK_INPUT ? (focus & STREAM_FOCUS_ACQUIRED_PLAYBACK) : (focus & STREAM_FOCUS_ACQUIRED_CAPTURE))
 
 typedef struct _volume_info {