mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
sink-input: Drop redundant assert (PA_SINK_INPUT_IS_LINKED() checked already)
This commit is contained in:
parent
c1cb0a6925
commit
a8f20e8d95
1 changed files with 0 additions and 4 deletions
|
|
@ -769,10 +769,6 @@ void pa_sink_input_peek(pa_sink_input *i, size_t slength /* in sink frames */, p
|
|||
|
||||
/* pa_log_debug("peek"); */
|
||||
|
||||
pa_assert(i->thread_info.state == PA_SINK_INPUT_RUNNING ||
|
||||
i->thread_info.state == PA_SINK_INPUT_CORKED ||
|
||||
i->thread_info.state == PA_SINK_INPUT_DRAINED);
|
||||
|
||||
block_size_max_sink_input = i->thread_info.resampler ?
|
||||
pa_resampler_max_block_size(i->thread_info.resampler) :
|
||||
pa_frame_align(pa_mempool_block_size_max(i->core->mempool), &i->sample_spec);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue