dde_bsd: use 'mic_' prefix for Play sessions

This commit prefixes the Play sessions of the audio driver so that
these can be matched differently in the 'record_play_mixer' config.

The same could be archived with re-labling but naming the sessions
differently at the source prevents accidental mis-configuration.

Issue #5167.
This commit is contained in:
Josef Söntgen 2024-04-11 13:58:18 +02:00 committed by Christian Helmuth
parent e27fad7c9a
commit 798087c5ad

View File

@ -553,8 +553,8 @@ struct Stereo_input : Noncopyable
Env &_env;
Play::Connection _left { _env, "left" };
Play::Connection _right { _env, "right" };
Play::Connection _left { _env, "mic_left" };
Play::Connection _right { _env, "mic_right" };
/* 16 bit per sample, interleaved left and right */
int16_t data[SAMPLES_PER_PERIOD*CHANNELS] { };