mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
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.
This commit is contained in:
parent
c3839c7637
commit
3767c9c4e8
3 changed files with 104 additions and 0 deletions
|
|
@ -291,6 +291,11 @@ pa_tagstruct *pa_tagstruct_command(pa_context *c, uint32_t command, uint32_t *ta
|
|||
void pa_ext_device_manager_command(pa_context *c, uint32_t tag, pa_tagstruct *t);
|
||||
void pa_ext_stream_restore_command(pa_context *c, uint32_t tag, pa_tagstruct *t);
|
||||
|
||||
pa_bool_t pa_format_info_is_compatible(pa_format_info *first, pa_format_info *second);
|
||||
pa_format_info* pa_format_info_from_sample_spec(pa_sample_spec *ss, pa_channel_map *map);
|
||||
void pa_format_info_to_sample_spec(pa_format_info *f, pa_sample_spec *ss, pa_channel_map *map);
|
||||
void pa_format_info_to_sample_spec_fake(pa_format_info *f, pa_sample_spec *ss);
|
||||
|
||||
pa_bool_t pa_mainloop_is_our_api(pa_mainloop_api*m);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue