mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-02 09:01:46 -05:00
two latency interpolation fixes
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@257 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
148202d432
commit
ee452b0f06
2 changed files with 5 additions and 3 deletions
|
|
@ -230,9 +230,11 @@ static void pstream_memblock_callback(struct pa_pstream *p, uint32_t channel, ui
|
|||
}
|
||||
|
||||
int pa_context_handle_error(struct pa_context *c, uint32_t command, struct pa_tagstruct *t) {
|
||||
assert(c && t);
|
||||
assert(c);
|
||||
|
||||
if (command == PA_COMMAND_ERROR) {
|
||||
assert(t);
|
||||
|
||||
if (pa_tagstruct_getu32(t, &c->error) < 0) {
|
||||
pa_context_fail(c, PA_ERROR_PROTOCOL);
|
||||
return -1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue