mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
alsa: do the wakeup differently
Directly write from the process thread, reduces potential latency.
This commit is contained in:
parent
57cbc5e503
commit
64d1307684
3 changed files with 81 additions and 88 deletions
|
|
@ -184,6 +184,8 @@ int spa_alsa_start(struct state *state, bool xrun_recover);
|
|||
int spa_alsa_pause(struct state *state, bool xrun_recover);
|
||||
int spa_alsa_close(struct state *state);
|
||||
|
||||
int spa_alsa_write(struct state *state, snd_pcm_uframes_t silence);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue