spa: acp: remove some strictly not necessary SplitPCM properties

Remove some api.alsa.split.* properties that the monitor script can
figure out itself.
This commit is contained in:
Pauli Virtanen 2024-12-23 11:44:45 +02:00
parent dcccfcab7f
commit 90f8b0e40b
3 changed files with 0 additions and 21 deletions

View file

@ -812,18 +812,6 @@ Available values: PCM, AC3, DTS, MPEG, MPEG2-AAC, EAC3, TRUEHD, DTSHD
Informative property. Informative property.
\endparblock \endparblock
@PAR@ node-prop api.alsa.split.leader # boolean
\parblock
\copybrief SPA_KEY_API_ALSA_SPLIT_LEADER
Informative property.
\endparblock
@PAR@ node-prop api.alsa.split.hw-channels # int
\parblock
\copybrief SPA_KEY_API_ALSA_SPLIT_HW_CHANNELS
Informative property.
\endparblock
@PAR@ node-prop api.alsa.split.hw-position # JSON @PAR@ node-prop api.alsa.split.hw-position # JSON
\parblock \parblock
\copybrief SPA_KEY_API_ALSA_SPLIT_HW_POSITION \copybrief SPA_KEY_API_ALSA_SPLIT_HW_POSITION

View file

@ -80,12 +80,6 @@ extern "C" {
* channels in an underlying PCM, listed in this * channels in an underlying PCM, listed in this
* property. The \ref SPA_KEY_API_ALSA_PATH * property. The \ref SPA_KEY_API_ALSA_PATH
* contains the underlying split PCM. */ * contains the underlying split PCM. */
#define SPA_KEY_API_ALSA_SPLIT_LEADER "api.alsa.split.leader" /**< (bool) This virtual device is split leader:
* one of the split devices for the same split
* PCM is selected as the leader. */
#define SPA_KEY_API_ALSA_SPLIT_HW_CHANNELS \
"api.alsa.split.hw-channels" /**< (int) Number of channels in the underlying
* split PCM. */
#define SPA_KEY_API_ALSA_SPLIT_HW_POSITION \ #define SPA_KEY_API_ALSA_SPLIT_HW_POSITION \
"api.alsa.split.hw-position" /**< (SPA JSON list) Channel map of the "api.alsa.split.hw-position" /**< (SPA JSON list) Channel map of the
* underlying split PCM. */ * underlying split PCM. */

View file

@ -235,9 +235,6 @@ static void init_device(pa_card *impl, pa_alsa_device *dev, pa_alsa_direction_t
struct spa_strbuf b; struct spa_strbuf b;
int i; int i;
pa_proplist_sets(dev->proplist, "api.alsa.split.leader", m->split->leader ? "true" : "false");
pa_proplist_setf(dev->proplist, "api.alsa.split.hw-channels", "%d", m->split->hw_channels);
spa_strbuf_init(&b, pos, sizeof(pos)); spa_strbuf_init(&b, pos, sizeof(pos));
spa_strbuf_append(&b, "["); spa_strbuf_append(&b, "[");
for (i = 0; i < m->split->channels; ++i) for (i = 0; i < m->split->channels; ++i)