mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
pulse-server: make a function to silence a buffer
This commit is contained in:
parent
c0a6a7ea32
commit
cf7e917024
3 changed files with 20 additions and 14 deletions
|
|
@ -182,6 +182,7 @@ const char *format_encoding2name(enum encoding enc);
|
|||
uint32_t format_encoding2id(enum encoding enc);
|
||||
|
||||
uint32_t sample_spec_frame_size(const struct sample_spec *ss);
|
||||
void sample_spec_silence(const struct sample_spec *ss, void *data, size_t size);
|
||||
bool sample_spec_valid(const struct sample_spec *ss);
|
||||
|
||||
void sample_spec_fix(struct sample_spec *ss, struct channel_map *map,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue