All of lore.kernel.org
 help / color / mirror / Atom feed
* mixer: add documentation about postcondition of removal event processing
       [not found] <1656291732060338020-webhooks-bot@alsa-project.org>
@ 2022-06-27  1:02 ` GitHub pull_request - opened
  0 siblings, 0 replies; only message in thread
From: GitHub pull_request - opened @ 2022-06-27  1:02 UTC (permalink / raw)
  To: alsa-devel

alsa-project/alsa-lib pull request #244 was opened from takaswie:

PulseAudio and PipeWire seems to appear including careless code to
process events of mixer element in implementation of mixer class.

 * https://lore.kernel.org/alsa-devel/YrbxZ2b+3rIdi7Ut@workstation/

They register own implementation of mixer class. At addition event,
they attach own mixer element into hcontrol element. However at removal
event, they never detach the mixer element from hcontrol element. They
hit assertion in mixer API internal due to unsatisfied postcondition.

This commit adds documentation about postcondition of removal event
processing so that developer for implementation of mixer class easily
realize the way to satisfy the postcondition.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>

Request URL   : https://github.com/alsa-project/alsa-lib/pull/244
Patch URL     : https://github.com/alsa-project/alsa-lib/pull/244.patch
Repository URL: https://github.com/alsa-project/alsa-lib

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-27  1:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1656291732060338020-webhooks-bot@alsa-project.org>
2022-06-27  1:02 ` mixer: add documentation about postcondition of removal event processing GitHub pull_request - opened

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.