mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
make native playback work
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@38 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
57dc42709f
commit
010378643e
4 changed files with 22 additions and 17 deletions
|
|
@ -267,7 +267,7 @@ static int command_request(struct pdispatch *pd, uint32_t command, uint32_t tag,
|
|||
return -1;
|
||||
}
|
||||
|
||||
fprintf(stderr, "Requested %u bytes\n", bytes);
|
||||
/*fprintf(stderr, "Requested %u bytes\n", bytes);*/
|
||||
|
||||
s->requested_bytes += bytes;
|
||||
|
||||
|
|
@ -426,7 +426,7 @@ void pa_stream_write(struct pa_stream *s, const void *data, size_t length) {
|
|||
pstream_send_memblock(s->context->pstream, s->channel, 0, &chunk);
|
||||
memblock_unref(chunk.memblock);
|
||||
|
||||
fprintf(stderr, "Sent %u bytes\n", length);
|
||||
/*fprintf(stderr, "Sent %u bytes\n", length);*/
|
||||
|
||||
if (length < s->requested_bytes)
|
||||
s->requested_bytes -= length;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue