mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
format: Add convenience API to check if a format is PCM or not
This commit is contained in:
parent
0ac2cfce6d
commit
54c391e6db
3 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue