summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorŠerif Rami <ramiserifpersia@gmail.com>2025-08-14 20:22:18 +0300
committerTakashi Iwai <tiwai@suse.de>2025-08-15 18:53:47 +0300
commita2a2210f2c2e65a39631e4be727f1f9cc155171a (patch)
tree1a3b18d29544b5fded5837e5f34697d8ed777214 /include
parent5c8c10796e274d1b5bb48756a45a6f2e865b30f2 (diff)
downloadlinux-a2a2210f2c2e65a39631e4be727f1f9cc155171a.tar.xz
ALSA: usb-audio: us144mkii: Implement audio playback and feedback
This patch implements the full audio playback data path. It introduces the allocation, submission, and completion handling for isochronous playback and feedback URBs. The feedback URB completion handler is the core of the driver's clocking mechanism. It reads the number of samples consumed by the device and uses a pattern-based algorithm to adjust the size of outgoing playback packets. This keeps the host and device synchronized and prevents xruns. The patch also adds the necessary vendor and UAC control messages to configure the device's sample rate. The PCM trigger is updated to start and stop the playback and feedback URBs. Basic suspend and resume handlers are included to manage stream state across power cycles. Signed-off-by: Šerif Rami <ramiserifpersia@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Link: https://patch.msgid.link/20250814172222.9448-4-ramiserifpersia@gmail.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions