add _cb suffix to _max_rewind function like with all other functions, too
authorLennart Poettering <lennart@poettering.net>
Mon, 14 Apr 2008 18:43:11 +0000 (18:43 +0000)
committerLennart Poettering <lennart@poettering.net>
Mon, 14 Apr 2008 18:43:11 +0000 (18:43 +0000)
git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2264 fefdeb5f-60dc-0310-8127-8f9354f1896f

src/pulsecore/sound-file-stream.c

index 5c8400d..7e0f8ef 100644 (file)
@@ -212,7 +212,7 @@ static void sink_input_rewind_cb(pa_sink_input *i, size_t nbytes) {
     pa_memblockq_rewind(u->memblockq, nbytes);
 }
 
-static void sink_input_set_max_rewind(pa_sink_input *i, size_t nbytes) {
+static void sink_input_set_max_rewind_cb(pa_sink_input *i, size_t nbytes) {
     file_stream *u;
 
     pa_sink_input_assert_ref(i);
@@ -332,7 +332,7 @@ int pa_play_file(
 
     u->sink_input->pop = sink_input_pop_cb;
     u->sink_input->rewind = sink_input_rewind_cb;
-    u->sink_input->set_max_rewind = sink_input_set_max_rewind;
+    u->sink_input->set_max_rewind = sink_input_set_max_rewind_cb;
     u->sink_input->kill = sink_input_kill_cb;
     u->sink_input->userdata = u;