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

int pa_stream_connect_record ( pa_stream s,
const char *  dev,
const pa_buffer_attr attr,
pa_stream_flags_t  flags 
)

Connect the stream to a source

Parameters:
s  The stream to connect to a source
dev  Name of the source to connect to, or NULL for default
attr  Buffer attributes, or NULL for default
flags  Additional flags, or 0 for default

Definition at line 805 of file stream.c.

References PA_STREAM_RECORD.

                                 {

    pa_assert(s);
    pa_assert(PA_REFCNT_VALUE(s) >= 1);

    return create_stream(PA_STREAM_RECORD, s, dev, attr, flags, NULL, NULL);
}


Generated by  Doxygen 1.6.0   Back to index