linux/sound/oss/dmasound
Cássio Gabriel 6e934725ec sound: oss: dmasound: kick queued output before extending tail fragment
sq_write() currently clears POST and then immediately appends
to the current rear fragment.

If the queue already contains complete fragments ahead of that
incomplete tail, playback is not kicked until the queue-full wait
path or the final sq_play() at the end of the write. That wastes
the slack those queued samples would otherwise provide while the driver
spends more time copying and translating more data into the tail fragment.

All in-tree dmasound playback backends still refuse to queue
an incomplete last fragment while !syncing, but they can start
earlier complete fragments.

Call sq_play() immediately after clearing POST and before extending
the rear fragment so already-queued complete output can start earlier.

Signed-off-by: Cássio Gabriel <cassiogabrielcontato@gmail.com>
Link: https://patch.msgid.link/20260427-dmasound-sq-play-v1-1-28bbeb8509b1@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2026-04-29 07:52:54 +02:00
..
dmasound_atari.c sound: oss: dmasound: Add missing module descriptions 2024-05-09 10:13:07 +02:00
dmasound_core.c sound: oss: dmasound: kick queued output before extending tail fragment 2026-04-29 07:52:54 +02:00
dmasound_paula.c sound: Switch back to struct platform_driver::remove() 2024-10-30 14:47:59 +01:00
dmasound_q40.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
dmasound.h sound: oss: dmasound: remove software_input_volume declaration 2022-09-09 09:11:06 +02:00
Kconfig docs: kbuild: convert docs to ReST and rename to *.rst 2019-06-14 14:21:21 -06:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00