mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
io: remove unused range
This commit is contained in:
parent
6cfddde39c
commit
e009fead09
10 changed files with 2 additions and 74 deletions
|
|
@ -950,11 +950,7 @@ static int handle_play(struct state *state, uint64_t nsec, snd_pcm_sframes_t del
|
|||
spa_log_trace_fp(state->log, "alsa-util %p: %d", state, io->status);
|
||||
|
||||
io->status = SPA_STATUS_NEED_BUFFER;
|
||||
if (state->range) {
|
||||
state->range->offset = state->sample_count * state->frame_size;
|
||||
state->range->min_size = state->threshold * state->frame_size;
|
||||
state->range->max_size = state->threshold * state->frame_size;
|
||||
}
|
||||
|
||||
res = spa_node_call_ready(&state->callbacks, SPA_STATUS_NEED_BUFFER);
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
|
|
@ -106,7 +106,6 @@ struct state {
|
|||
struct spa_port_info port_info;
|
||||
struct spa_param_info port_params[8];
|
||||
struct spa_io_buffers *io;
|
||||
struct spa_io_range *range;
|
||||
struct spa_io_clock *clock;
|
||||
struct spa_io_position *position;
|
||||
struct spa_io_sequence *notify;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue