Re: [PATCH v24 23/34] ALSA: usb-audio: Prevent starting of audio stream if in use
From: Amadeusz Sławiński
Date: Tue Aug 06 2024 - 10:54:17 EST
On 8/1/2024 3:17 AM, Wesley Cheng wrote:
With USB audio offloading, an audio session is started from the ASoC
platform sound card and PCM devices. Likewise, the USB SND path is still
readily available for use, in case the non-offload path is desired. In
order to prevent the two entities from attempting to use the USB bus,
introduce a flag that determines when either paths are in use.
How can this happen? Can you provide some example with list of devices
and which one should block the other? If I recall correctly devices are
already exclusive unless you support substreams which ASoC does not at
the moment.