Arun Raghavan
e418e49ecb
format: Avoid some code duplication
...
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).
2011-05-02 11:54:48 +05:30
Arun Raghavan
13229fb39e
sink-input: Don't assert on bad formats
...
Handles bad format input more gracefully and returns an error instead.
2011-05-02 11:54:48 +05:30
Arun Raghavan
54c391e6db
format: Add convenience API to check if a format is PCM or not
2011-05-02 11:54:47 +05:30
Arun Raghavan
3767c9c4e8
format: Add some properties and internal API
...
The properties will be used by clients to set the sample format,
sampling rate, etc. The functions will be used internally.
2011-05-02 10:17:20 +05:30
Arun Raghavan
c3839c7637
core: Add a pa_format_info structure
...
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.
2011-05-02 10:17:20 +05:30