pa_format_info_from_sample_spec

Utility function to take a \a pa_sample_spec and generate the corresponding * \a pa_format_info. * * Note that if you want the server to choose some of the stream parameters, * for example the sample rate, so that they match the device parameters, then * you shouldn't use this function. In order to allow the server to choose * a parameter value, that parameter must be left unspecified in the * pa_format_info object, and this function always specifies all parameters. An * exception is the channel map: if you pass NULL for the channel map, then the * channel map will be left unspecified, allowing the server to choose it. * * \since 2.0

version(linux)
extern (C)
pa_format_info_from_sample_spec

Meta