mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-19 08:57:14 -05:00
alsa: Share node/port info emission code between sink and source
It's mostly the same, and it allows us to trigger this code in the shared alsa-pcm.c code as well.
This commit is contained in:
parent
72c9fba6d2
commit
6bae812ce0
4 changed files with 96 additions and 160 deletions
|
|
@ -282,6 +282,9 @@ int spa_alsa_skip(struct state *state);
|
|||
|
||||
void spa_alsa_recycle_buffer(struct state *state, uint32_t buffer_id);
|
||||
|
||||
void spa_alsa_emit_node_info(struct state *state, bool full);
|
||||
void spa_alsa_emit_port_info(struct state *state, bool full);
|
||||
|
||||
static inline uint32_t spa_alsa_format_from_name(const char *name, size_t len)
|
||||
{
|
||||
int i;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue