mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
alsa: disable pause-on-idle by default
snd_pcm_drop() causes pops and cracks. It is better to just let the sink consume silence until it gets suspended.
This commit is contained in:
parent
19be555fa6
commit
d9a63dc69f
3 changed files with 3 additions and 1 deletions
|
|
@ -273,6 +273,7 @@ static const struct spa_dict_item node_info_items[] = {
|
|||
{ SPA_KEY_DEVICE_API, "alsa" },
|
||||
{ SPA_KEY_MEDIA_CLASS, "Audio/Sink" },
|
||||
{ SPA_KEY_NODE_DRIVER, "true" },
|
||||
{ SPA_KEY_NODE_PAUSE_ON_IDLE, "false" },
|
||||
};
|
||||
|
||||
static void emit_node_info(struct state *this, bool full)
|
||||
|
|
|
|||
|
|
@ -275,6 +275,7 @@ static const struct spa_dict_item node_info_items[] = {
|
|||
{ SPA_KEY_DEVICE_API, "alsa" },
|
||||
{ SPA_KEY_MEDIA_CLASS, "Audio/Source" },
|
||||
{ SPA_KEY_NODE_DRIVER, "true" },
|
||||
{ SPA_KEY_NODE_PAUSE_ON_IDLE, "false" },
|
||||
};
|
||||
|
||||
static void emit_node_info(struct state *this, bool full)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue