store requested resampling method in a seperate field and use it when create a new resampler after a move

This commit is contained in:
Lennart Poettering 2009-01-27 00:52:28 +01:00
parent ccd21f33cf
commit 9ba408415c
4 changed files with 12 additions and 13 deletions

View file

@ -95,7 +95,7 @@ struct pa_sink_input {
pa_cvolume volume;
pa_bool_t muted;
pa_resample_method_t resample_method;
pa_resample_method_t requested_resample_method, actual_resample_method;
/* Returns the chunk of audio data and drops it from the
* queue. Returns -1 on failure. Called from IO thread context. If