mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
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.
This commit is contained in:
parent
99d5ec6c93
commit
40b66a0be9
4 changed files with 274 additions and 181 deletions
13
PROTOCOL
13
PROTOCOL
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue