Hello to all,
i have well compiled and running a reference design called app_usb_aud_skc_u16.
Now i need more endpoints on linux alsa.
I have multichannel audio with SPDIF and i need to split the audio channel in more USB digital Audio Playback & digital audio capture endpoints.
With alsamixer i see only 2 devices one for playback and another for capture,
is it possible to have 4 devices or more with one XMOS IC?
more usb playback-capture devices on linux alsa Topic is solved
-
- New User
- Posts: 3
- Joined: Thu Oct 24, 2019 10:36 am
-
- XCore Addict
- Posts: 246
- Joined: Mon Jan 08, 2018 4:14 pm
Hi, my view is that it would require to show multiple audio interfaces and descriptors to the host, and the app_usb_aud framework is not written/prepared for this...
also the management of 2 sets of audio endpoint would need to duplicate buffer handling in both usb_buffer.xc and decouple.xc this would be a real nightmare and needing a huge amount of man days to understand how it works and duplicate this...
you have to consider splitting the data flows upfront into the host/linux...
also the management of 2 sets of audio endpoint would need to duplicate buffer handling in both usb_buffer.xc and decouple.xc this would be a real nightmare and needing a huge amount of man days to understand how it works and duplicate this...
you have to consider splitting the data flows upfront into the host/linux...
-
- New User
- Posts: 3
- Joined: Thu Oct 24, 2019 10:36 am
thanks Fabriceo,
best of all is to have a reference desing already done!
Perhaps some of xmos gurus are listening....
best of all is to have a reference desing already done!
Perhaps some of xmos gurus are listening....
-
- XCore Expert
- Posts: 580
- Joined: Thu Nov 26, 2015 11:47 pm
Hi. Have you tried the dmix, dsnoop and/or dshare ALSA plugins? That might give you what you want. It will take some work but less work than rewriting the XMOS IP.
-
- New User
- Posts: 3
- Joined: Thu Oct 24, 2019 10:36 am
Hi.
i solve with dsnoop, thanks to akp!!
Now i need to resample some spdif input but is less effort than rewriting XMOS IP
i solve with dsnoop, thanks to akp!!
Now i need to resample some spdif input but is less effort than rewriting XMOS IP
-
- XCore Expert
- Posts: 580
- Joined: Thu Nov 26, 2015 11:47 pm
Glad you got it working! Good luck with the rest of your project.