mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
latency calculation fix
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@258 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
ee452b0f06
commit
49e16ffc6c
3 changed files with 40 additions and 33 deletions
|
|
@ -54,9 +54,12 @@ struct pa_sink_input {
|
|||
void (*drop) (struct pa_sink_input *i, const struct pa_memchunk *chunk, size_t length);
|
||||
void (*kill) (struct pa_sink_input *i);
|
||||
pa_usec_t (*get_latency) (struct pa_sink_input *i);
|
||||
void (*underrun) (struct pa_sink_input *i);
|
||||
|
||||
void *userdata;
|
||||
|
||||
int playing;
|
||||
|
||||
struct pa_memchunk resampled_chunk;
|
||||
struct pa_resampler *resampler;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue