Skip to contentSkip to conversation

Add details about what pcm_plug does in doc

PATCH New [email protected] 1 participant 1 message May 16, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add details about what pcm_plug does in doc

From: Olivier Langlois <[email protected]>

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.

src/pcm/pcm_plug.c +2 -1
index fa84eaa..8a639af 100644
@@ -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 {
Signature · 1 line
1.8.2.3