Logo Search packages:      
Sourcecode: pulseaudio version File versions  Download package

static int PA_SOURCE_IS_OPENED ( pa_source_state_t  x  )  [inline, static]

Returns non-zero if source is recording: running or idle.

Since:
0.9.15

Definition at line 855 of file def.h.

References PA_SOURCE_IDLE, and PA_SOURCE_RUNNING.

                                                           {
    return x == PA_SOURCE_RUNNING || x == PA_SOURCE_IDLE;
}


Generated by  Doxygen 1.6.0   Back to index