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

int pa_stream_connect_playback ( pa_stream s,
const char *  dev,
const pa_buffer_attr attr,
pa_stream_flags_t  flags,
pa_cvolume volume,
pa_stream sync_stream 

Connect the stream to a sink

s  The stream to connect to a sink
dev  Name of the sink to connect to, or NULL for default
attr  Buffering attributes, or NULL for default
flags  Additional flags, or 0 for default
volume  Initial volume, or NULL for default
sync_stream  Synchronize this stream with the specified one, or NULL for a standalone stream

Definition at line 791 of file stream.c.



    pa_assert(PA_REFCNT_VALUE(s) >= 1);

    return create_stream(PA_STREAM_PLAYBACK, s, dev, attr, flags, volume, sync_stream);

Generated by  Doxygen 1.6.0   Back to index