mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
impl-node: rework quantum and max_quantum handling
Rework the quantum and max_quantum handling. Work directly with the latency fractions and calculate the final quantum size until we know the samplerate.
This commit is contained in:
parent
7bec96640c
commit
6acf72dc30
3 changed files with 53 additions and 45 deletions
|
|
@ -701,9 +701,7 @@ struct pw_impl_node {
|
|||
struct pw_loop *data_loop; /**< the data loop for this node */
|
||||
|
||||
struct spa_fraction latency; /**< requested latency */
|
||||
uint32_t quantum_size; /**< desired quantum */
|
||||
struct spa_fraction max_latency; /**< maximum latency */
|
||||
uint32_t max_quantum_size; /**< max supported quantum */
|
||||
struct spa_source source; /**< source to remotely trigger this node */
|
||||
struct pw_memblock *activation;
|
||||
struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue