Logo Search packages:      
Sourcecode: pulseaudio version File versions

static int PA_SINK_IS_OPENED ( pa_sink_state_t  x  )  [inline, static]

Returns non-zero if sink is playing: running or idle.

Since:
0.9.15

Definition at line 759 of file def.h.

References PA_SINK_IDLE, and PA_SINK_RUNNING.

                                                       {
    return x == PA_SINK_RUNNING || x == PA_SINK_IDLE;
}


Generated by  Doxygen 1.6.0   Back to index