matybigfro wrote: ↑Thu Oct 27, 2022 5:26 pm
So my understanding is that External Sound Card is connected to the ChromeOS Audio Server (CRas), CRAS is then presented to the Linux as a virtual soundcard which is what Pulse, ALSA or Jack conncets to. Hence the increased latency and instability I think.
I think I remember now. On my old Chromebook, which does have full blown Linux on it via Crouton, I always kill Cras. If I'm not mistaken ChromeOS uses Cras like we Linuxers use PipeWire, JackAudio or PulseAudio: it's to circumvent the fact that Alsa (the one and only sound driver on a Linux system) can only let one application play sound. Remember: you do not necessarily need Jack, PW, Pulse etc. to hear sound on Linux. Only Alsa.
So Cras does not present your USB audio device as a virtual sound card to Jack or Alsa. It's an audio server that you can use in applications that support it. Just like Jack or PulseAudio. Cras is like Jack. Or a replacement for it, if you will. And I think it is generally not a good idea to let two different "audio servers" (like PW, Jack, Pulse, Cras or whatever) present itself to your (audio) applications. Audio applications (like a DAW) can Alsa via the "audio server" or directly. It's very vague, I know, but Alsa is the one and only driver for audio, all the others simply rely on Alsa and use it to produce, or "serve", sound to applications like DAW's, media players, etc.
Cras might indeed "see" the external audio card, but Linux applications might not play nice with Cras: I always kill it like so:
If you're on "regular" CromeOS you can open a "Chrome OS development shell" (= Crosh) with Ctrl Alt T. Then type "shell" to switch to a regular Linux terminal/shell. In that terminal you can type the good old command below to see if ChromeOS or Crostini, which ever you started, plays nice with Alsa and lets Alsa "see" your external USB audio card. This also works in regular Linux of course.
Could you post the output of that command here? Is your USB audio device (the Alesis IO4) among them?
After killing Cras in Crostini (or the specific Linux flavor you have running on the Chromebook) then you can try to experiment with Reaper and let Reaper use Alsa as the 'Audio System' like so in Reaper:
"Options --> Preferences (Ctrl P)"
Then choose from the left-hand panel "Audio --> Device'". In the right-hand panel then choose: "Audio System: Alsa" and as input and output device your USB audio device (Alesis IO4). Restart Reaper. I think you've already done that. Am I right? Did you record some audio yet in Crostini? Do you hear audio from the USB audio device now (i.e. not from your Chromebook speaker)?
If I start Reaper on my Chromebook then I can choose as 'Audio System' for Reaper to use between Jack, Alsa dummy audio and PulseAudio. Cras ain't in there.
You don't still test these things with Depthboot/Eupnea do you? I'd like to test Crostini, not necessarily Depthboot/Eupnea.