On Wed, Sep 18, 2019 at 07:57:51PM -0400, Walter Dnes wrote
> 
> I did some further digging.  It appears that the instructions I
> followed are for capture devices (USB microphones, etc).  According to
> https://trac.ffmpeg.org/wiki/Capture/ALSA if I want to record from a
> running application, I need to load the "snd_aloop" module and mention
> it in a local .asoundrc.  According to the linux kernel config help...
> 
> CONFIG_SND_ALOOP:
> 
> | Say 'Y' or 'M' to include support for the PCM loopback device.      |
> | This module returns played samples back to the user space using     |
> | the standard ALSA PCM device                                        |
> 
>   Oh well, there is a new kernel, so I'll build it with the module, and
> get back later to see how things work.

  That failed differently.  With the local .asoundrc present, I loaded
the snd_aloop module.  It showed up as a capture device in alsamixer.
But I had no sound on the speakers when playing Youtube.  Even worse, I
was unable to unload the snd_aloop module.  When trying to do so, I got

FATAL ERROR: Module in use.

  The normal way around that is to unload any other modules using it.
But I have everything, except snd_aloop, built into the kernel.  So
there was nothing to unload to release snd_aloop.  I ended up renaming
.asoundrc, and rebooting.

-- 
Walter Dnes <waltd...@waltdnes.org>
I don't run "desktop environments"; I run useful applications

Reply via email to