format: Add convenience API to check if a format is PCM or not

This commit is contained in:
Arun Raghavan 2011-03-01 16:34:06 +05:30
parent 0ac2cfce6d
commit 54c391e6db
3 changed files with 8 additions and 0 deletions

View file

@ -74,6 +74,9 @@ void pa_format_info_free(pa_format_info *f);
/** Returns non-zero when the format info structure is valid */
int pa_format_info_valid(pa_format_info *f);
/** Returns non-zero when the format info structure represents a PCM (i.e. uncompressed data) format */
int pa_format_info_is_pcm(pa_format_info *f);
PA_C_DECL_END
#endif