Hi,
I am very new to XMOS development and using one of the sample audio applications in sw_usb_audio-_sw_9_0_0 on XMOS-XK-AUDIO-316 dev-board (running 2AMi8o8xxxxxx binary). Connecting the board to a Linux machine, I am getting 1 USB audio card with 4-in and 4-out channels. Looking at: ‘/proc/asound/card1/’ I can see: pcm0c, pcm0p and stream0. This is as expected.
My aim is to get 4 playback and 4 capture endpoints on the same USB device. For example, if I use ‘aplay -l’, then I should see device 0-3 under the same audio card (e.g. card1 with stream0-3). I just need mono input and a single output on each device.
If I am right, this means the USB device advertises multiple alternate interface settings and separate audio streaming endpoints, which ALSA maps as separate sub-devices.
Searching through the forum I saw this post (by jamesg): 'https://www.xcore.com/viewtopic.php?t=7186' that looks like a similar requirement, but I am not sure if that got anywhere.
I like to know if anyone has tried this, or think this is possible (e.g. by update to xua_config.h) or even supported in lib_xua and if so, how much effort would be needed.
Any help would be greatly appreciated,
Thank you
USB audio device with multiple playback and capture streams
-
- Newbie
- Posts: 1
- Joined: Tue Jul 01, 2025 9:32 am