diff options
author | Lennart Poettering <lennart@poettering.net> | 2006-08-13 17:30:51 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2006-08-13 17:30:51 +0000 |
commit | 72cf2118df6a3cb0515bcb426e2dc57c781fa2b1 (patch) | |
tree | 3c935598f78487f1e5248684f173c2df1d0aea59 /src/pulsecore/sink-input.c | |
parent | 3beef50639ff340635eca154d1d9c90fcf002fed (diff) | |
download | pulseaudio-72cf2118df6a3cb0515bcb426e2dc57c781fa2b1.tar.gz |
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
Diffstat (limited to 'src/pulsecore/sink-input.c')
-rw-r--r-- | src/pulsecore/sink-input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/sink-input.c b/src/pulsecore/sink-input.c index ff5213e19..21050d224 100644 --- a/src/pulsecore/sink-input.c +++ b/src/pulsecore/sink-input.c @@ -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)) { |