Skip to contentSkip to conversation

Use of snd_atomic_write_t for dshare and friends

DISCUSSION Alan Young 2 participants 2 messages Nov 7, 2016 – Nov 8, 2016

lore
Share & tools
lore

Alan Young

author
#0 lore raw

Would it make sense for dshare, and other d-* plugins, to use a shared snd_atomic_write_t in the shared memory segment and associated snd_atomic_write_xxx() & snd_atomic_read_xxx() calls?

#1 lore raw
Quoted 4 lines · Alan Young

Would it make sense for dshare, and other d-* plugins, to use a shared snd_atomic_write_t in the shared memory segment and associated snd_atomic_write_xxx() & snd_atomic_read_xxx() calls?

It's not recommended and not expected to work well always with DMA buffer. And above all, these calls were dropped in the recent alsa-lib.

Takashi