[alsa-devel] [PATCH - pcm_plug] Add details about what pcm_plug does in doc
From: Olivier Langlois olivier@trillion01.com
Current doc only mention conversion to channels, rate and format. It alsa takes care of access mode mismatch. This is what I was looking for and I had to look the source code to figure out.
Signed-off-by: Olivier Langlois olivier@trillion01.com
diff --git a/src/pcm/pcm_plug.c b/src/pcm/pcm_plug.c index fa84eaa..8a639af 100644 --- a/src/pcm/pcm_plug.c +++ b/src/pcm/pcm_plug.c @@ -1155,7 +1155,8 @@ int snd_pcm_plug_open(snd_pcm_t **pcmp,
\section pcm_plugins_plug Automatic conversion plugin
-This plugin converts channels, rate and format on request. +This plugin converts channels, rate and format on request. It will also +implicitly adapt to the slave plugin access mode if different than our own.
\code pcm.name {
participants (1)
-
olivier@trillion01.com