mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05:00
alsa: implement set_io and handle position io
Use position io for deciding the size of the output buffers in alsasrc
This commit is contained in:
parent
4aab226047
commit
2206deb3e8
4 changed files with 39 additions and 12 deletions
|
|
@ -93,6 +93,7 @@ struct state {
|
|||
struct spa_io_buffers *io;
|
||||
struct spa_io_range *range;
|
||||
struct spa_io_clock *clock;
|
||||
struct spa_io_position *position;
|
||||
|
||||
struct buffer buffers[MAX_BUFFERS];
|
||||
unsigned int n_buffers;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue