mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-21 08:56:56 -05:00
pulse-server: move fix function to format functions
This commit is contained in:
parent
4163991a97
commit
d11f8d5dea
3 changed files with 31 additions and 38 deletions
|
|
@ -174,6 +174,9 @@ uint32_t format_encoding2id(enum encoding enc);
|
|||
uint32_t sample_spec_frame_size(const struct sample_spec *ss);
|
||||
bool sample_spec_valid(const struct sample_spec *ss);
|
||||
|
||||
void sample_spec_fix(struct sample_spec *ss, struct spa_dict *props,
|
||||
bool fix_format, bool fix_rate, bool fix_channels);
|
||||
|
||||
uint32_t channel_pa2id(enum channel_position channel);
|
||||
const char *channel_id2name(uint32_t channel);
|
||||
uint32_t channel_name2id(const char *name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue