Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4146

Graphics, sound and multimedia • alsa loopback setup

$
0
0
Hi, I'm new to this board. I have been googling up a storm and trying to find sane guidelines on how to get something done.

I use the Rasp Pi 4 B headless to play audio music to USB DAC / speakers. That is working great.

All processing on this pi is dedicated to this audio tasks.. no other major services are running.

I'm using a recent non-GUI 64 bit Raspberry Pi OS Lite, 64 bit. Linux bookshelf 6.1.0-rpi7-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64 GNU/Linux

I also have 'darkice' installed. Darkice needs a capture audio device to stream audio out.

I read that I could install a software audio loopback using alsa and nothing else (ie jack or pulse, which I think are not installed now). I just need all audio going through my DAC live to be capture-able so that darkice can stream out. It looks like that should be simple, but I get lost on the coding of the modprobe loopback device, and I can't find a straight forward guide. I'm willing to understand any parts that are needed, but I'm not sure what parts those would be. If someone can point the direction please.

I use the below card 3 audio USB device and have no capture devices.

Code:

owl@bookshelf:~ $ aplay -l**** List of PLAYBACK Hardware Devices ****...card 3: Audio [USB HIFI Audio], device 0: USB Audio [USB Audio]  Subdevices: 1/1  Subdevice #0: subdevice #0owl@bookshelf:~ $ arecord -l**** List of CAPTURE Hardware Devices ****owl@bookshelf:~ $

Statistics: Posted by indecent-owl — Fri Jan 17, 2025 3:34 am



Viewing all articles
Browse latest Browse all 4146

Trending Articles