diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-09-03 18:31:46 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-09-03 18:31:46 +0200 |
commit | 40b66a0be9579fff095cba77f3ea29c390d966f2 (patch) | |
tree | 619983056731996b1f6c05602d1e5c4f75f7015e /PROTOCOL | |
parent | 99d5ec6c93c14a2b5892d9342e20c145d7915ae4 (diff) |
Implement "early requests" mode.
PA_STREAM_EARLY_REQUESTS is a new flag that will modify buffering metric
selection behaviour a bit. This code is good for broken ALSA/OSS clients that
ignore 'readability' on the fds in question and schedule audio via usleep()
instead.
Diffstat (limited to 'PROTOCOL')
-rw-r--r-- | PROTOCOL | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -126,7 +126,7 @@ New field for PA_COMMAND_CREATE_PLAYBACK_STREAM at the end: Buffer attributes for PA_COMMAND_CREATE_PLAYBACK_STREAM and PA_COMMAND_CREATE_RECORD_STREAM may now be 0 for default values. -New filed for PA_COMMAND_SET_PLAYBACK_STREAM_BUFFER_ATTR, +New field for PA_COMMAND_SET_PLAYBACK_STREAM_BUFFER_ATTR, PA_COMMAND_SET_RECORD_STREAM_BUFFER_ATTR at the end: adjust_latency (bool) @@ -141,6 +141,15 @@ new message: PA_COMMAND_EXTENSION -PA_COMMAND_CREATE_RECORD_STREAM, PA_COMMAND_CREATE_PLAYBACK_STREAM: +PA_COMMAND_CREATE_PLAYBACK_STREAM: bool volume_set at the end + +PA_COMMAND_CREATE_RECORD_STREAM, PA_COMMAND_CREATE_PLAYBACK_STREAM: + + bool early_requests at the end + +New field for PA_COMMAND_SET_PLAYBACK_STREAM_BUFFER_ATTR, +PA_COMMAND_SET_RECORD_STREAM_BUFFER_ATTR at the end: + + early_requests (bool) |