summaryrefslogtreecommitdiff
path: root/src/pulsecore
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-08-13 17:30:51 +0000
committerLennart Poettering <lennart@poettering.net>2006-08-13 17:30:51 +0000
commit72cf2118df6a3cb0515bcb426e2dc57c781fa2b1 (patch)
tree3c935598f78487f1e5248684f173c2df1d0aea59 /src/pulsecore
parent3beef50639ff340635eca154d1d9c90fcf002fed (diff)
downloadpulseaudio-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')
-rw-r--r--src/pulsecore/sink-input.c2
-rw-r--r--src/pulsecore/sink-input.h1
2 files changed, 1 insertions, 2 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)) {
diff --git a/src/pulsecore/sink-input.h b/src/pulsecore/sink-input.h
index 243978fe9..da0c26620 100644
--- a/src/pulsecore/sink-input.h
+++ b/src/pulsecore/sink-input.h
@@ -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 */