diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-04-20 20:35:44 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-04-20 20:35:44 +0000 |
commit | 5971345e9951762ec27af3d824b2909c034b1c48 (patch) | |
tree | bbeaa1ae52108db04b856def5a5979fefef4b387 /src/pulsecore/sink.c | |
parent | 62e7bc17c41c5542779a3c395a9d47d2bd306de2 (diff) |
rename sink_input->rewind to process_rewind() and set_max_rewind to update_max_rewind()
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2284 fefdeb5f-60dc-0310-8127-8f9354f1896f
Diffstat (limited to 'src/pulsecore/sink.c')
-rw-r--r-- | src/pulsecore/sink.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pulsecore/sink.c b/src/pulsecore/sink.c index f631de35..39468f1e 100644 --- a/src/pulsecore/sink.c +++ b/src/pulsecore/sink.c @@ -981,7 +981,7 @@ int pa_sink_process_msg(pa_msgobject *o, int code, void *userdata, int64_t offse i->thread_info.sync_next->thread_info.sync_prev = i; } - pa_sink_input_set_max_rewind(i, s->thread_info.max_rewind); + pa_sink_input_update_max_rewind(i, s->thread_info.max_rewind); pa_assert(!i->thread_info.attached); i->thread_info.attached = TRUE; @@ -1111,7 +1111,7 @@ int pa_sink_process_msg(pa_msgobject *o, int code, void *userdata, int64_t offse pa_hashmap_put(s->thread_info.inputs, PA_UINT32_TO_PTR(info->ghost_sink_input->index), pa_sink_input_ref(info->ghost_sink_input)); info->ghost_sink_input->thread_info.sync_prev = info->ghost_sink_input->thread_info.sync_next = NULL; - pa_sink_input_set_max_rewind(info->ghost_sink_input, s->thread_info.max_rewind); + pa_sink_input_update_max_rewind(info->ghost_sink_input, s->thread_info.max_rewind); pa_assert(!info->ghost_sink_input->thread_info.attached); info->ghost_sink_input->thread_info.attached = TRUE; @@ -1314,7 +1314,7 @@ void pa_sink_set_max_rewind(pa_sink *s, size_t max_rewind) { s->thread_info.max_rewind = max_rewind; while ((i = pa_hashmap_iterate(s->thread_info.inputs, &state, NULL))) - pa_sink_input_set_max_rewind(i, s->thread_info.max_rewind); + pa_sink_input_update_max_rewind(i, s->thread_info.max_rewind); if (s->monitor_source) pa_source_set_max_rewind(s->monitor_source, s->thread_info.max_rewind); |