mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-17 08:56:49 -05:00
alsa: refactor read and write functions
Separate the sync logic from the read/write functions so that we can use it in the wakeup logic as well.
This commit is contained in:
parent
cc1d980f0a
commit
c6745ed0d0
2 changed files with 116 additions and 100 deletions
|
|
@ -147,6 +147,7 @@ struct state {
|
|||
uint32_t rate_denom;
|
||||
uint32_t delay;
|
||||
uint32_t read_size;
|
||||
uint32_t max_read;
|
||||
|
||||
uint64_t port_info_all;
|
||||
struct spa_port_info port_info;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue