You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[ALSA] Add O_APPEND flag support to PCM
Added O_APPEND flag support to PCM to enable shared substreams among multiple processes. This mechanism is used by dmix and dsnoop plugins. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
committed by
Jaroslav Kysela
parent
f001c3acf6
commit
0df63e44c3
@@ -632,7 +632,7 @@ static int usX2Y_pcms_lock_check(struct snd_card *card)
|
||||
for (s = 0; s < 2; ++s) {
|
||||
struct snd_pcm_substream *substream;
|
||||
substream = pcm->streams[s].substream;
|
||||
if (substream && substream->ffile != NULL)
|
||||
if (SUBSTREAM_BUSY(substream))
|
||||
err = -EBUSY;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user