summaryrefslogtreecommitdiffstats
path: root/src/pulse/format.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary #includesMaarten Bosmans2011-06-221-0/+1
|
* format: Add some convenience API for setting propertiesArun Raghavan2011-05-151-0/+11
| | | | | Adds functions to set sample format, rate, channels and channel map on a format to make life easier for users of the API.
* format: Extend properties to handle lists/rangesArun Raghavan2011-05-151-0/+11
| | | | | | | | | | | | | This replaces the simple string used by pa_format_info's proplist with a JSON string (accessed via new API only). This allows us to express lists and ranges more cleanly, and embed type information for future extensibility. We use json-c for JSON parsing. This is a lightweight depdency (32 KB on my system) and avoids the hassle of having to reinvent a JSON parser. Also included is a test which verifies functionality and is valgrind-clean.
* format: Export pa_format_info_is_compatible in APIArun Raghavan2011-05-151-0/+9
| | | | This allows clients to perform checks between formats as well.
* format: Add a type for DTSArun Raghavan2011-05-021-0/+3
|
* format: Add some convenience functions for printingArun Raghavan2011-05-021-0/+13
|
* format: Const-ify some parametersArun Raghavan2011-05-021-2/+2
|
* format: Add convenience API to check if a format is PCM or notArun Raghavan2011-05-021-0/+3
|
* core: Add a pa_format_info structureArun Raghavan2011-05-021-0/+79
This will be used to represent the format of data provided by the client for both compressed and PCM formats in a new extended API.