the pointer to rewind() may actually be NULL

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/glitch-free@2267 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2008-04-14 18:46:24 +00:00
parent 68e4a93705
commit 1f0a52dad1
2 changed files with 3 additions and 4 deletions

View file

@ -103,7 +103,7 @@ struct pa_sink_input {
* before peek() if it is called at all. Only called if the sink
* input driver ever plans to call
* pa_sink_input_request_rewrite(). Called from IO context. */
void (*rewind) (pa_sink_input *i, size_t nbytes);
void (*rewind) (pa_sink_input *i, size_t nbytes); /* may be NULL */
/* Called whenever the maximum rewindable size of the sink
* changes. Called from UI context. */