pcm: partially revert "pcm: softvol - make snd_pcm_parse_control_id private"

This reverts partially commit b9a4997e92.

It seems that we have have some users for this very specific function.
Mark it deprecated and keep the softvol implementation separate,
so we can remove this function easily in future.

Fixes: https://github.com/alsa-project/alsa-lib/issues/186
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2021-11-02 10:55:45 +01:00
parent 5fab157a59
commit f0d540f851
2 changed files with 134 additions and 1 deletions

View file

@ -59,7 +59,7 @@ int SND_PCM_PLUGIN_ENTRY(plugin) (snd_pcm_t **pcmp, const char *name,\
#include "pcm_extplug.h"
int snd_pcm_parse_control_id(snd_config_t *conf, snd_ctl_elem_id_t *ctl_id, int *cardp,
int *cchannelsp, int *hwctlp);
int *cchannelsp, int *hwctlp) __attribute__((deprecated));
/** \} */