#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 {