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:
Lennart Poettering 2004-06-27 20:00:26 +00:00
parent 57dc42709f
commit 010378643e
4 changed files with 22 additions and 17 deletions

View file

@ -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;