format: Expose pa_format_info convenience getters in API
authorArun Raghavan <arun@arunraghavan.net>
Sat, 26 May 2018 03:22:52 +0000 (08:52 +0530)
committerArun Raghavan <git@arunraghavan.net>
Mon, 23 Jul 2018 13:59:19 +0000 (19:29 +0530)
commit6d7a266e0e9969d4b227ab30c84377f819406bd3
tree95fc7217c31c47145ccf45f79dd96cfc85d957ba
parent1f45082c68f46529ad4ee44c9e770f700450334b
format: Expose pa_format_info convenience getters in API

We move over helper functions to get rate, channels, channel map and
sample format (if PCM) in the public API, so users of the extended API
are more easily able to pull out these values from pa_format_info.
src/map-file
src/pulse/format.c
src/pulse/format.h
src/pulsecore/core-format.c
src/pulsecore/core-format.h