mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-19 08:57:00 -05:00
* remove as superfluous assert() in polyplib-stream which broke the gstreamer plugin
* fix module-tunnel meta info git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@282 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
6de0cdaaa9
commit
d7d8529c46
2 changed files with 4 additions and 4 deletions
|
|
@ -351,8 +351,8 @@ void pa_stream_write(struct pa_stream *s, const void *data, size_t length, void
|
|||
}
|
||||
|
||||
size_t pa_stream_writable_size(struct pa_stream *s) {
|
||||
assert(s && s->state == PA_STREAM_READY && s->ref >= 1);
|
||||
return s->requested_bytes;
|
||||
assert(s && s->ref >= 1);
|
||||
return s->state == PA_STREAM_READY ? s->requested_bytes : 0;
|
||||
}
|
||||
|
||||
struct pa_operation * pa_stream_drain(struct pa_stream *s, void (*cb) (struct pa_stream*s, int success, void *userdata), void *userdata) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue