Logo Search packages:      
Sourcecode: pulseaudio version File versions

pa_stream* pa_stream_new ( pa_context c,
const char *  name,
const pa_sample_spec ss,
const pa_channel_map map 
)

Create a new, unconnected stream with the specified name and sample type. It is recommended to use pa_stream_new_with_proplist() instead and specify some initial properties.

Parameters:
c  The context to create this stream in
name  A name for this stream
ss  The desired sample format
map  The desired channel map, or NULL for default

Definition at line 52 of file stream.c.

                                                                                                               {
    return pa_stream_new_with_proplist(c, name, ss, map, NULL);
}


Generated by  Doxygen 1.6.0   Back to index