Re: Recording audio while simultaneously playing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 28, 2016 at 8:48 AM, Clemens Ladisch
<cladisch@xxxxxxxxxxxxxx> wrote:
> Maurus Cuelenaere wrote:
>> I got the loopback device working (sending audio through it and
>> recording it on the other side):
>>
>> $ aplay -D loopback a2002011001-e02.wav
>> Playing WAVE 'a2002011001-e02.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
>> $ aplay -D tv out.wav
>> Playing WAVE 'out.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
>>
>> However when trying to play audio through a multi device, I get the
>> following error:
>>
>> $ aplay -D monitor a2002011001-e02.wav
>> Playing WAVE 'a2002011001-e02.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
>> aplay: pcm_params.c:170: snd1_pcm_hw_param_get_min: Assertion `!snd_interval_empty(i)' failed.
>
> Add the -v parameter to aplay; what buffer/period sizes are the loopback
> and tv devices using?  Can you force them to use sizes that both devices
> support?

```
maurus@raspy:~$ aplay -D monitor -vv a2002011001-e02.wav
Playing WAVE 'a2002011001-e02.wav' : Signed 16 bit Little Endian, Rate
44100 Hz, Stereo
aplay: pcm_params.c:170: snd1_pcm_hw_param_get_min: Assertion
`!snd_interval_empty(i)' failed.

Aborted by signal Aborted...
```

I'll try playing with the buffer/period sizes tonight.
What's the easiest way to enumerate the available configurations for
the devices?

--
Maurus Cuelenaere

------------------------------------------------------------------------------
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user



[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux