mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -04:00
remove pa_sink_input::variable_rate field since it has been folded into pa_sink_input::flags
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1240 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
3beef50639
commit
72cf2118df
2 changed files with 1 additions and 2 deletions
|
|
@ -532,7 +532,7 @@ int pa_sink_input_move_to(pa_sink_input *i, pa_sink *dest, int immediately) {
|
|||
/* Try to reuse the old resampler if possible */
|
||||
new_resampler = i->resampler;
|
||||
|
||||
else if (i->variable_rate ||
|
||||
else if ((i->flags & PA_SINK_INPUT_VARIABLE_RATE) ||
|
||||
!pa_sample_spec_equal(&i->sample_spec, &dest->sample_spec) ||
|
||||
!pa_channel_map_equal(&i->channel_map, &dest->channel_map)) {
|
||||
|
||||
|
|
|
|||
|
|
@ -79,7 +79,6 @@ struct pa_sink_input {
|
|||
pa_memchunk resampled_chunk;
|
||||
pa_resampler *resampler; /* may be NULL */
|
||||
|
||||
int variable_rate;
|
||||
pa_resample_method_t resample_method;
|
||||
|
||||
pa_memblock *silence_memblock; /* may be NULL */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue