From 798087c5ad45728f63697369833e4ec7e729e881 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20S=C3=B6ntgen?= Date: Thu, 11 Apr 2024 13:58:18 +0200 Subject: [PATCH] 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. --- repos/dde_bsd/src/drivers/audio/main.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repos/dde_bsd/src/drivers/audio/main.cc b/repos/dde_bsd/src/drivers/audio/main.cc index a87bc0426a..d7aab2cb2c 100644 --- a/repos/dde_bsd/src/drivers/audio/main.cc +++ b/repos/dde_bsd/src/drivers/audio/main.cc @@ -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] { };