Re: [Alsa-user] sans-pulseaudio Firefox? was: a strange thing

2016-11-28 Thread Ralf Mardorf
On Mon, 28 Nov 2016 18:00:49 +0100, Miroslav Rovis wrote:
>You are a dev, and I respect that.

JFTR I'm not an ALSA dev.

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


Re: [Alsa-user] sans-pulseaudio Firefox? was: a strange thing

2016-11-28 Thread Miroslav Rovis
Hi!

I solved my issue.

But first...

On 161117-13:07+0100, Ralf Mardorf wrote:
> Miroslav, you don't need to know the Arch package manager commands, just
> the output is important. I'm using Firefox without pulseaudio. You don't
> need to switch to Arch Linux, this works on other distros, too. Firefox
> doesn't require pulseaudio.

This is true. And I told that to where the title is so terribly
misleading. I'm talking about the title of
"Require PulseAudio on Linux"
https://bugzilla.mozilla.org/show_bug.cgi?id=1247056#c171
(and the link is to my comment where I told Mozilla devs so)

> Arch Linux does use systemd and it's more or less impossible to replace
> it by another init system.
Well, others say it is not so very impossible at all, just so potential
future Archians that read here, get the other side as well:
http://systemd-free.org/install.php

> However, this is off-topic, as well as
> discussing spyware in browsers and similar issues or talking about
> Poettering, Sievers and friends.
You are a dev, and I respect that. So, not disputing your
advice/policy/decision, although I disagree with it.

> FWIW 
> http://lists.linuxaudio.org/pipermail/linux-audio-user/2016-June/105188.html
> I didn't check if it's already available.
That was interesting, but I couldn't find time to understand it
(remember, I'm not very advanced.)

Anyway, in this email there can be read all the details of how I solved
my issue, which is: use Firefox with pure ALSA:

Firefox 49.0 & YoutubeVideo: Yes - Audio: No...
https://marc.info/?l=gentoo-user=148035067105746=2

Regards!
-- 
Miroslav Rovis
Zagreb, Croatia
http://www.CroatiaFidelis.hr


signature.asc
Description: Digital signature
--
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Recording audio while simultaneously playing

2016-11-28 Thread Maurus Cuelenaere
On Mon, Nov 28, 2016 at 8:48 AM, Clemens Ladisch
 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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user