summaryrefslogtreecommitdiffstats
path: root/src/pulse/format.c
Commit message (Collapse)AuthorAgeFilesLines
* format: Avoid some code duplicationArun Raghavan2011-05-021-0/+4
| | | | | | We frequently need to free an idxset containing pa_format_infos, so define an internal free function that can be used directly with this (instead of defining it once-per-file).
* sink-input: Don't assert on bad formatsArun Raghavan2011-05-021-13/+17
| | | | Handles bad format input more gracefully and returns an error instead.
* format: Add convenience API to check if a format is PCM or notArun Raghavan2011-05-021-0/+4
|
* format: Add some properties and internal APIArun Raghavan2011-05-021-0/+87
| | | | | The properties will be used by clients to set the sample format, sampling rate, etc. The functions will be used internally.
* core: Add a pa_format_info structureArun Raghavan2011-05-021-0/+71
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.