diff options
author | Colin Guthrie <colin@mageia.org> | 2011-06-02 11:44:21 +0200 |
---|---|---|
committer | Colin Guthrie <colin@mageia.org> | 2011-06-05 21:24:07 +0200 |
commit | d4c9ad179b9cc15e5ec9ede4444a447c4505421f (patch) | |
tree | b7a04fa6bdc78de7251e030cbe71d96122e23654 | |
parent | f8e8a038a3ea8dbba027de74071f5f96ee048bea (diff) |
streams: Fix the actual resampler method shown in debug messages.
-rw-r--r-- | src/pulsecore/sink-input.c | 1 | ||||
-rw-r--r-- | src/pulsecore/source-output.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/pulsecore/sink-input.c b/src/pulsecore/sink-input.c index 3c957f12..78334210 100644 --- a/src/pulsecore/sink-input.c +++ b/src/pulsecore/sink-input.c @@ -1309,6 +1309,7 @@ int pa_sink_input_finish_move(pa_sink_input *i, pa_sink *dest, pa_bool_t save) { 1, 0, &i->sink->silence); + i->actual_resample_method = new_resampler ? pa_resampler_get_method(new_resampler) : PA_RESAMPLER_INVALID; } pa_sink_update_status(dest); diff --git a/src/pulsecore/source-output.c b/src/pulsecore/source-output.c index 57ccc067..36089860 100644 --- a/src/pulsecore/source-output.c +++ b/src/pulsecore/source-output.c @@ -833,6 +833,7 @@ int pa_source_output_finish_move(pa_source_output *o, pa_source *dest, pa_bool_t 1, 0, &o->source->silence); + o->actual_resample_method = new_resampler ? pa_resampler_get_method(new_resampler) : PA_RESAMPLER_INVALID; } pa_source_update_status(dest); |