diff options
| author | Šerif Rami <ramiserifpersia@gmail.com> | 2025-08-14 20:22:17 +0300 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2025-08-15 18:53:47 +0300 |
| commit | 5c8c10796e274d1b5bb48756a45a6f2e865b30f2 (patch) | |
| tree | f9a8025a4377ddc5f2980c0ef7885747a38d0c70 /include | |
| parent | dee1bcf28a3dd13ddb2e9200407864f73e9c4d63 (diff) | |
| download | linux-5c8c10796e274d1b5bb48756a45a6f2e865b30f2.tar.xz | |
ALSA: usb-audio: us144mkii: Add PCM core infrastructure
This patch adds the ALSA PCM device infrastructure. It creates a new
PCM device with one playback and one capture stream.
The hardware capabilities (formats, rates, channels) are defined in
`tascam_pcm_hw`. The core PCM operations (`snd_pcm_ops`) for both
playback and capture are implemented, including open, close, hw_params,
prepare, and pointer callbacks.
The trigger callback is a stub for now. This commit allows user-space
applications to interact with the ALSA device, but no audio will be
streamed yet.
Signed-off-by: Šerif Rami <ramiserifpersia@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://patch.msgid.link/20250814172222.9448-3-ramiserifpersia@gmail.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
